64 lines
1.9 KiB
Groovy
64 lines
1.9 KiB
Groovy
apply plugin: 'com.android.application'
|
||
|
||
android {
|
||
compileSdkVersion 25
|
||
buildToolsVersion "25.0.2"
|
||
defaultConfig {
|
||
applicationId "com.stardust.scriptdroid"
|
||
minSdkVersion 19
|
||
//由于不知道在API24以上如何调起其他文件编辑器应用编辑文件,只能改到API23。FileProvider貌似只能查看编辑后不能保存?
|
||
//参照ScriptFileOperation.Edit
|
||
targetSdkVersion 23
|
||
versionCode 1
|
||
versionName "1.0"
|
||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||
}
|
||
buildTypes {
|
||
release {
|
||
minifyEnabled false
|
||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||
}
|
||
}
|
||
compileOptions {
|
||
sourceCompatibility JavaVersion.VERSION_1_7
|
||
targetCompatibility JavaVersion.VERSION_1_7
|
||
encoding = 'utf-8'
|
||
}
|
||
dataBinding {
|
||
enabled = true
|
||
}
|
||
}
|
||
|
||
repositories {
|
||
flatDir {
|
||
dirs 'libs'
|
||
}
|
||
}
|
||
|
||
dependencies {
|
||
compile fileTree(include: ['*.jar'], dir: 'libs')
|
||
testCompile 'junit:junit:4.12'
|
||
|
||
compile 'com.android.support:appcompat-v7:25.0.0'
|
||
compile 'com.android.support:design:25.0.0'
|
||
|
||
compile 'com.afollestad.material-dialogs:core:0.9.2.3'
|
||
compile 'com.google.code.gson:gson:2.8.0'
|
||
compile('de.psdev.licensesdialog:licensesdialog:1.8.1')
|
||
compile 'com.furture.react:DuktapeJava:1.1.0'
|
||
compile 'com.zzhoujay.markdown:markdown:1.0.2'
|
||
compile 'moe.feng:AlipayZeroSdk:1.1'
|
||
|
||
compile files('libs/JSTransformer.jar')
|
||
|
||
compile 'com.afollestad.material-dialogs:commons:0.9.2.3'
|
||
compile 'com.makeramen:roundedimageview:2.2.1'
|
||
compile 'com.rengwuxian.materialedittext:library:2.0.3'
|
||
compile(name:'920-common-release', ext:'aar')
|
||
compile(name:'920-styles-debug', ext:'aar')
|
||
compile(name:'920-file_explorer-release', ext:'aar')
|
||
compile(name:'920-app-debug', ext:'aar')
|
||
|
||
|
||
}
|