Skip to content

Commit

Permalink
新build
Browse files Browse the repository at this point in the history
  • Loading branch information
LcTerry committed Jul 19, 2017
1 parent 273bc14 commit 7b5a8d3
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apply plugin: 'com.android.library'
apply plugin: 'me.tatarka.retrolambda'
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
compileSdkVersion 25
buildToolsVersion '25.0.2'

defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode rootProject.ext.versionCode
versionName rootProject.ext.versionName
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName '1.0.2'

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

Expand Down Expand Up @@ -65,10 +65,11 @@ dependencies {
testCompile 'junit:junit:4.12'

}
task makeJar(type:Copy){
delete 'build/libs/httpLib.jar'
from('build/intermediates/bundels/release/')
into('build/libs')
include('classes.jar')
rename('classess.jar','httpLib.jar')
task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier = 'sources'
}

artifacts {
archives sourcesJar
}

0 comments on commit 7b5a8d3

Please sign in to comment.