Skip to content

Commit

Permalink
release of version 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FibreFoX committed Jan 16, 2016
1 parent b170765 commit a19da0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies {

group = 'de.dynamicfiles.projects.gradle.plugins'
archivesBaseName = 'javafx-gradle-plugin'
version = '1.0-SNAPSHOT'
version = '1.0'

ext.isReleaseVersion = !version.endsWith("SNAPSHOT")

Expand All @@ -50,14 +50,14 @@ artifacts {
archives sourcesJar
}
signing {
required { isReleaseVersion && gradle.taskGraph.hasTask("uploadArchives") }
required { isReleaseVersion }
sign configurations.archives
}

// read some information when required
// https://docs.gradle.org/current/userguide/signing_plugin.html
gradle.taskGraph.whenReady { taskGraph ->
if (taskGraph.allTasks.any { it instanceof Sign } && isReleaseVersion && gradle.taskGraph.hasTask("uploadArchives")) {
if (taskGraph.allTasks.any { it instanceof Sign } && isReleaseVersion ) {
// Use Java 6's console to read from the console (no good for
// a CI environment)
Console console = System.console()
Expand Down

0 comments on commit a19da0a

Please sign in to comment.