diff --git a/build.gradle b/build.gradle index 6a856e9a6..ee547d012 100644 --- a/build.gradle +++ b/build.gradle @@ -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() @@ -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'