82 lines
2.5 KiB
Groovy
82 lines
2.5 KiB
Groovy
import com.android.build.gradle.internal.tasks.DefaultAndroidTask
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 25
|
|
buildToolsVersion "25.0.2"
|
|
|
|
defaultConfig {
|
|
applicationId "com.hippo.ehviewer"
|
|
minSdkVersion 14
|
|
targetSdkVersion 25
|
|
versionCode 72
|
|
versionName "1.0.19"
|
|
vectorDrawables.useSupportLibrary = true
|
|
resConfigs "zh", "zh-rCN", "zh-rHK", "zh-rTW"
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError true
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
java.srcDirs += 'src/main/java-gen'
|
|
}
|
|
}
|
|
}
|
|
|
|
task copyNotice(type: Copy) {
|
|
from '../NOTICE.html'
|
|
into './src/main/assets'
|
|
finalizedBy ":daogenerator:executeDaoGenerator"
|
|
}
|
|
|
|
// TODO What is jack task?
|
|
tasks.withType(DefaultAndroidTask) {
|
|
task -> task.dependsOn copyNotice
|
|
}
|
|
|
|
clean {
|
|
delete file('src/main/assets/NOTICE.html').absolutePath
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
|
compile 'com.android.support:appcompat-v7:25.1.0'
|
|
compile 'com.android.support:design:25.1.0'
|
|
compile 'com.github.amlcurran.showcaseview:library:5.4.3'
|
|
compile 'com.github.seven332:animator:0.1.0'
|
|
compile 'com.github.seven332:beerbelly:0.1.4'
|
|
compile 'com.github.seven332:conaco:0.1.5-eh'
|
|
compile 'com.github.seven332:drawerlayout:0.1.0'
|
|
compile 'com.github.seven332:easyrecyclerview:0.1.1'
|
|
compile 'com.github.seven332:glgallery:0.1.2'
|
|
compile 'com.github.seven332:glview:0.1.0'
|
|
compile 'com.github.seven332:glview-image:0.1.0'
|
|
compile 'com.github.seven332:hotspot:0.1.0'
|
|
compile 'com.github.seven332:image:0.1.12'
|
|
compile 'com.github.seven332:okhttp:3.5.0'
|
|
compile 'com.github.seven332:refreshlayout:0.1.0'
|
|
compile 'com.github.seven332:ripple:0.1.2'
|
|
compile 'com.github.seven332:streampipe:0.1.0'
|
|
compile 'com.github.seven332:tuxiang:0.1.2'
|
|
compile 'com.github.seven332:unifile:0.2.0'
|
|
compile 'com.github.seven332:yorozuya:0.1.2'
|
|
compile 'com.github.seven332:yorozuya-thread:0.1.1'
|
|
compile 'com.github.seven332:yorozuya-collect:0.1.4'
|
|
compile 'com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.9.2'
|
|
compile 'org.ccil.cowan.tagsoup:tagsoup:1.2.1'
|
|
compile 'org.greenrobot:greendao:2.2.0'
|
|
compile 'org.jsoup:jsoup:1.9.2'
|
|
testCompile 'junit:junit:4.12'
|
|
}
|