From 958dfb816639fece7861ac518f19ec2cb4ba9a88 Mon Sep 17 00:00:00 2001 From: Emux Date: Sat, 18 Jun 2016 20:10:02 +0300 Subject: [PATCH] Gradle: remove sources artifact --- vtm-android/build.gradle | 8 -------- vtm-themes/build.gradle | 8 -------- vtm/build.gradle | 8 -------- 3 files changed, 24 deletions(-) diff --git a/vtm-android/build.gradle b/vtm-android/build.gradle index 2f9bd3f8..6b46d6d9 100644 --- a/vtm-android/build.gradle +++ b/vtm-android/build.gradle @@ -32,14 +32,6 @@ android { lintOptions.abortOnError false } -task sourcesJar(type: Jar) { - classifier = 'sources' - from android.sourceSets.main.java.srcDirs -} -artifacts { - archives sourcesJar -} - eclipse { classpath { plusConfigurations += [ configurations.compile, configurations.eclipseCompile ] diff --git a/vtm-themes/build.gradle b/vtm-themes/build.gradle index abe19065..8db1ceb4 100644 --- a/vtm-themes/build.gradle +++ b/vtm-themes/build.gradle @@ -10,11 +10,3 @@ sourceSets { main.java.srcDirs = ['src'] main.resources.srcDirs = ['resources'] } - -task sourcesJar(type: Jar, dependsOn: classes) { - classifier = 'sources' - from sourceSets.main.allSource -} -artifacts { - archives sourcesJar -} \ No newline at end of file diff --git a/vtm/build.gradle b/vtm/build.gradle index 01959851..6d213319 100644 --- a/vtm/build.gradle +++ b/vtm/build.gradle @@ -16,14 +16,6 @@ sourceSets { main.compileClasspath += configurations.providedCompile } -task sourcesJar(type: Jar, dependsOn: classes) { - classifier = 'sources' - from sourceSets.main.allSource -} -artifacts { - archives sourcesJar -} - eclipse.classpath { //you can tweak the classpath of the Eclipse project by adding extra configurations: plusConfigurations += [ configurations.providedCompile ]