Skip to content

Commit

Permalink
Merge pull request acejump#308 from AlexPl292/archiveName
Browse files Browse the repository at this point in the history
Apply the name of the archive only to the result of buildPlugin task
  • Loading branch information
breandan authored Oct 31, 2019
2 parents 57fe894 + b4844f7 commit 434cb46
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 434cb46

Please sign in to comment.