Due Version Catalogs start to fail or go slow with 15.000+ dependencies, this repo is by design unscalable (indeed now it is only adding Kotlin dependencies and no Java only ones for example).
- Add the catalog/s
// settings.gradle.kts
dependencyResolutionManagement {
repositories {
mavenCentral()
}
versionCatalogs {
create("libs") {
from("com.javiersc.massive-catalogs:libs-catalog:$version")
}
create("kotlinLibs") {
from("com.javiersc.massive-catalogs:kotlin-catalog:$version")
}
create("pluginsLibs") {
from("com.javiersc.massive-catalogs:plugins-catalog:$version")
}
}
}
- Sync Gradle with IntelliJ and the accessors will be generated
// build.gradle.kts
dependencies {
implementation(libs.jetbrains.kotlinx.kotlinxCoroutinesCore) // libs-catalog
implementation(kotlinLibs.jetbrains.kotlinx.kotlinxCoroutinesCore) // kotlin-catalog
implementation(pluginLibs.jetbrains.kotlin.kotlinGradlePlugin) // plugins-catalog
}
-
libs-catalog
Manual selection of libraries, can include non Kotlin (only Java) libraries, like retrofit. -
kotlin-catalog
Autogenerated Kotlin libraries, any library from MavenCentral should be here. Powered byKAMP
scanner. -
plugins-catalog
Manual selection of Gradle plugins.
All docs are available on the Massive Catalog website
Thanks to @mpetuska for his help and his amazing project, KAMP.