mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 22:15:45 +00:00
update flyway
This commit is contained in:
1 parent
470e506cb0
commit
dc9d9b06ef
8 files changed
+26
-13
No files matched your search
@@ -97,6 +97,9 @@ abstract class WriteDependencies : DefaultTask() {
|
||||
private fun MutableSet<ResolvedDependencyResult>.addFrom(dependencies: Set<DependencyResult>) {
|
||||
for (dependency in dependencies) {
|
||||
dependency as ResolvedDependencyResult
|
||||
if (dependency.resolvedVariant.attributes.toString().contains("org.gradle.category=platform")) {
|
||||
continue
|
||||
}
|
||||
add(dependency)
|
||||
if (transitive.get()) {
|
||||
addFrom(dependency.selected.dependencies)
|
||||
|
||||
@@ -32,6 +32,12 @@ dependencies {
|
||||
runtimeDownload(libs.assistedInject) {
|
||||
isTransitive = false
|
||||
}
|
||||
runtimeDownload(libs.flyway) {
|
||||
exclude("com.google", "gson")
|
||||
}
|
||||
runtimeDownload(libs.flywayMysql) {
|
||||
isTransitive = false
|
||||
}
|
||||
}
|
||||
|
||||
tasks {
|
||||
|
||||
@@ -59,6 +59,8 @@ fun Task.standardRuntimeRelocations() {
|
||||
relocateDependency("org.mariadb.jdbc")
|
||||
relocateDependency("org.postgresql")
|
||||
relocateDependency("redis.clients.jedis")
|
||||
relocateDependency("org.flywaydb")
|
||||
relocateDependency("com.fasterxml")
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -77,7 +79,6 @@ fun Task.standardRelocations() {
|
||||
relocateDependency("ninja.egg82.messenger")
|
||||
relocateDependency("org.antlr")
|
||||
relocateDependency("com.electronwill")
|
||||
relocateDependency("org.flywaydb")
|
||||
}
|
||||
|
||||
fun Task.relocateCloud() {
|
||||
|
||||
Reference in new issue
Block a user