Gradle: remove sources artifact

This commit is contained in:
Emux 2016-06-18 20:10:02 +03:00
parent f3d4a8ef7d
commit 958dfb8166
3 changed files with 0 additions and 24 deletions

View File

@ -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 ]

View File

@ -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
}

View File

@ -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 ]