Try to add sources

This commit is contained in:
Chumva 2019-10-11 17:18:01 +03:00
parent e8fb55c9db
commit 00d5384d65

View file

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