File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed
Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
22apply plugin : ' me.tatarka.retrolambda'
33android {
4- compileSdkVersion rootProject . ext . compileSdkVersion
5- buildToolsVersion rootProject . ext . buildToolsVersion
4+ compileSdkVersion 25
5+ buildToolsVersion ' 25.0.2 '
66
77 defaultConfig {
8- minSdkVersion rootProject . ext . minSdkVersion
9- targetSdkVersion rootProject . ext . targetSdkVersion
10- versionCode rootProject . ext . versionCode
11- versionName rootProject . ext . versionName
8+ minSdkVersion 15
9+ targetSdkVersion 25
10+ versionCode 1
11+ versionName ' 1.0.2 '
1212
1313 testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
1414
@@ -65,10 +65,11 @@ dependencies {
6565 testCompile ' junit:junit:4.12'
6666
6767}
68- task makeJar (type :Copy ){
69- delete ' build/libs/httpLib.jar'
70- from(' build/intermediates/bundels/release/' )
71- into(' build/libs' )
72- include(' classes.jar' )
73- rename(' classess.jar' ,' httpLib.jar' )
68+ task sourcesJar (type : Jar ) {
69+ from android. sourceSets. main. java. srcDirs
70+ classifier = ' sources'
71+ }
72+
73+ artifacts {
74+ archives sourcesJar
7475}
You can’t perform that action at this time.
0 commit comments