|
|
@ -23,7 +23,7 @@ dependencyResolutionManagement { |
|
|
|
versionCatalogs { |
|
|
|
versionCatalogs { |
|
|
|
fun VersionCatalogBuilder.idv(name: String, coordinates: String, versionRef: String = name) { |
|
|
|
fun VersionCatalogBuilder.idv(name: String, coordinates: String, versionRef: String = name) { |
|
|
|
val parts = coordinates.split(':', limit = 2) |
|
|
|
val parts = coordinates.split(':', limit = 2) |
|
|
|
alias(name).to(parts[0], parts[1]).version(extra["$versionRef.version"].toString()) |
|
|
|
library(name, parts[0], parts[1]).version(extra["$versionRef.version"].toString()) |
|
|
|
} |
|
|
|
} |
|
|
|
class VersionBundle(val bundleName: String, val builder: VersionCatalogBuilder) { |
|
|
|
class VersionBundle(val bundleName: String, val builder: VersionCatalogBuilder) { |
|
|
|
val libs = mutableListOf<String>() |
|
|
|
val libs = mutableListOf<String>() |
|
|
|