Gradle: remove sources artifact
This commit is contained in:
parent
f3d4a8ef7d
commit
958dfb8166
@ -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 ]
|
||||
|
@ -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
|
||||
}
|
@ -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 ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user