From b912cc2ca23ce826cf9277d7d779b82e536ad289 Mon Sep 17 00:00:00 2001 From: Yegorisa Date: Mon, 25 Dec 2017 17:15:56 +0800 Subject: [PATCH] Changed source compatability --- build.gradle | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/build.gradle b/build.gradle index 0700189..34e707f 100644 --- a/build.gradle +++ b/build.gradle @@ -4,8 +4,8 @@ apply plugin: 'maven' group 'com.github.clusterws' version '1.5' -sourceCompatibility = 1.7 -targetCompatibility = 1.7 +sourceCompatibility = 1.8 +targetCompatibility = 1.8 repositories { mavenCentral() @@ -34,19 +34,3 @@ dependencies { task wrapper(type: Wrapper) { gradleVersion = '1.4' } - - -task sourcesJar(type: Jar, dependsOn: classes) { - classifier = 'sources' - from sourceSets.main.allSource -} - -task javadocJar(type: Jar, dependsOn: javadoc) { - classifier = 'javadoc' - from javadoc.destinationDir -} - -artifacts { - archives sourcesJar - archives javadocJar -} \ No newline at end of file