Skip to content

Commit 7b5a8d3

Browse files
committed
新build
1 parent 273bc14 commit 7b5a8d3

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

build.gradle

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
apply plugin: 'com.android.library'
22
apply plugin: 'me.tatarka.retrolambda'
33
android {
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
}

0 commit comments

Comments
 (0)