Skip to main content

Tegral Catalog

Tegral Catalog is a shared Gradle version catalog that you can import in your own projects. It makes it easier to add Tegral dependencies to your project and ensures that all Tegral dependencies version numbers are synced within your project.

implementation tegralLibs.config.core
implementation tegralLibs.di.core

testImplementation tegralLibs.di.test

Tegral Catalog is completely optional. You can add Tegral libraries just like regular Maven dependencies using the usual groupId:artifactId:version syntax.

Adding Tegral Catalog to your project

Tegral Catalog is a settings plugin, meaning that you will need to add it in your settings.gradle file.

dependencyResolutionManagement {
repositories {

versionCatalogs {
tegralLibs {

Refer to the version catalog documentation for more information.

Dependencies and bundles

The catalog is generated dynamically from all of the published components in the Tegral repository.

Additionally, the catalog contains a few bundles mainly intended for applications that use the full Tegral platform and not just individual libraries. The bundles are as follows:


Full notation: tegralLibs.bundles.web

This bundle includes all of the required components for building Tegral Web applications (i.e. Tegral Web AppDSL, Tegral Web AppDefaults and all of their dependencies, such as Tegral DI or Tegral Config).

dependencies {
implementation tegralLibs.bundles.web


Full notation: tegralLibs.bundles.web.test

This bundle is the equivalent of the web component but for use in tests. It includes components recommended for testing Tegral applications, such as tegral-web-controllers-test or tegral-di-test.

dependencies {
testImplementation tegralLibs.bundles.web.test