Point ArtifactsTests to custom maven repo dir to avoid stale artifacts

^KTI-1345
This commit is contained in:
Bogdan Mukvich
2023-12-11 11:39:27 +01:00
committed by Space Team
parent d9f581c8b5
commit b7d56dea44
7 changed files with 28 additions and 16 deletions
+10
View File
@@ -991,6 +991,16 @@ tasks {
workingDir = rootProject.projectDir.resolve("libraries")
commandLine = getMvnwCmd() + listOf("clean", "install", "-DskipTests")
}
register<Exec>("mvnPublish") {
group = "publishing"
workingDir = rootProject.projectDir.resolve("libraries")
commandLine = getMvnwCmd() + listOf(
"clean", "deploy", "--activate-profiles=noTest",
"-Dinvoker.skip=true", "-DskipTests",
"-Ddeploy-snapshot-repo=local",
"-Ddeploy-snapshot-url=file://${rootProject.projectDir.resolve("build/repo")}"
)
}
}
val zipCompiler by tasks.registering(Zip::class) {