Files
assistant-android/hackdex/build.gradle
huangzhuanghua f394fdacdd 集成热更
2016-05-10 15:09:50 +08:00

42 lines
840 B
Groovy

/*
* Copyright (C) 2015 Baidu, Inc. All Rights Reserved.
*/
apply plugin: 'com.android.library'
android {
compileSdkVersion 19
buildToolsVersion "23.0.3"
defaultConfig {
minSdkVersion 14
targetSdkVersion 19
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
task makeJar(type: Copy) {
copy{
delete 'build/libs/hackdex.jar'
from('build/intermediates/bundles/debug/')
into('build/libs/')
include('classes.jar')
rename('classes.jar', 'hackdex.jar')
}
}
makeJar.dependsOn(build)
build.doLast{
makeJar
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}