Skip to content

Commit

Permalink
Less hacky plugin zip renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
VladRassokhin committed Feb 16, 2021
1 parent 0e0d3cc commit 8b6065e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions agent/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,10 @@ teamcity {
useSeparateClassloader = true
}
}
archiveName = "${project.rootProject.name}.zip"
}
}

// Do not include version into plugin archive name
project.tasks.getByName('agentPlugin').version = ''

// Fix after https://github.com/rodm/gradle-teamcity-plugin/commit/ca6d5dd4946f670a30cf39f837ae3aea831ef9eb
project.tasks.getByName('agentPlugin').baseName = "${project.rootProject.name}"

3 changes: 1 addition & 2 deletions server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ teamcity {

useSeparateClassloader = true
}
archiveName = "${project.rootProject.name}.zip"
}

environments {
Expand Down Expand Up @@ -80,6 +81,4 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {
// Do not include version into plugin archive name
project.tasks.getByName('serverPlugin').version = ''

// Fix after https://github.com/rodm/gradle-teamcity-plugin/commit/ca6d5dd4946f670a30cf39f837ae3aea831ef9eb
project.tasks.getByName('serverPlugin').baseName = "${project.rootProject.name}"

0 comments on commit 8b6065e

Please sign in to comment.