Point ArtifactsTests to custom maven repo dir to avoid stale artifacts
^KTI-1345
This commit is contained in:
committed by
Space Team
parent
d9f581c8b5
commit
b7d56dea44
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user