Skip to content

Commit

Permalink
Apply the name of the archive only to the result of buildPlugin task
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPl292 committed Oct 31, 2019
1 parent 57fe894 commit b4844f7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@ tasks {
kotlinOptions.freeCompilerArgs += "-progressive"
}

named("buildPlugin") { dependsOn("test") }
named<Zip>("buildPlugin") {
dependsOn("test")
archiveFileName.set("AceJump.zip")
}

withType<RunIdeTask> {
dependsOn("test")
findProperty("luginDev")?.let { args = listOf(projectDir.absolutePath) }
}

withType<Zip> {
archiveFileName.set("AceJump.zip")
}
}

plugins {
Expand Down

0 comments on commit b4844f7

Please sign in to comment.