Try to add sources
This commit is contained in:
parent
e8fb55c9db
commit
00d5384d65
1 changed files with 9 additions and 0 deletions
|
@ -33,4 +33,13 @@ android {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
implementation 'com.android.support:support-annotations:27.1.1'
|
implementation 'com.android.support:support-annotations:27.1.1'
|
||||||
|
}
|
||||||
|
|
||||||
|
task sourcesJar(type: Jar) {
|
||||||
|
classifier = 'sources'
|
||||||
|
from android.sourceSets.main.java.sourceFiles
|
||||||
|
}
|
||||||
|
|
||||||
|
artifacts {
|
||||||
|
archives sourcesJar
|
||||||
}
|
}
|
Loading…
Reference in a new issue