Skip to content

Commit

Permalink
Java fix (#129)
Browse files Browse the repository at this point in the history
* Added compile configuration

* Reinstalled signing
  • Loading branch information
jjvilleg authored and cthigh committed Oct 13, 2017
1 parent 0d37a94 commit 0971ed9
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,26 @@ configurations {
provided
}

compileJava {
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
}

compileTestJava {
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
}

compileGroovy {
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
}

compileTestGroovy {
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
}

dependencies {
compile gradleApi()
compile localGroovy()
Expand Down Expand Up @@ -78,7 +98,7 @@ task wrapper(type: Wrapper) {

archivesBaseName = 'liberty-gradle-plugin'
group = 'net.wasdev.wlp.gradle.plugins'
version = '2.1-SNAPSHOT'
version = '2.0'

task sourcesJar(type: Jar) {
classifier = 'sources'
Expand Down

0 comments on commit 0971ed9

Please sign in to comment.