44 lines
1.5 KiB
Groovy
44 lines
1.5 KiB
Groovy
apply plugin: 'com.android.application'
|
||
|
||
android {
|
||
compileSdkVersion 25
|
||
buildToolsVersion "25.0.2"
|
||
defaultConfig {
|
||
applicationId "com.stardust.scriptdroid"
|
||
minSdkVersion 24
|
||
//由于不知道在API24以上如何调起其他文件编辑器应用编辑文件,只能改到API23。FileProvider貌似只能查看编辑后不能保存?
|
||
//参照ScriptFileOperation.Edit
|
||
targetSdkVersion 23
|
||
versionCode 1
|
||
versionName "1.0"
|
||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||
jackOptions {
|
||
enabled true
|
||
}
|
||
}
|
||
buildTypes {
|
||
release {
|
||
minifyEnabled false
|
||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||
}
|
||
}
|
||
compileOptions {
|
||
sourceCompatibility JavaVersion.VERSION_1_8
|
||
targetCompatibility JavaVersion.VERSION_1_8
|
||
encoding = 'utf-8'
|
||
}
|
||
}
|
||
|
||
dependencies {
|
||
compile fileTree(include: ['*.jar'], dir: 'libs')
|
||
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
|
||
exclude group: 'com.android.support', module: 'support-annotations'
|
||
})
|
||
compile 'com.android.support:appcompat-v7:25.0.0'
|
||
compile 'com.android.support:design:25.0.0'
|
||
testCompile 'junit:junit:4.12'
|
||
compile 'com.afollestad.material-dialogs:core:0.9.2.3'
|
||
compile 'com.google.code.gson:gson:2.8.0'
|
||
compile 'com.sothree.slidinguppanel:library:3.3.1'
|
||
}
|