mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
74 lines
2.4 KiB
Groovy
74 lines
2.4 KiB
Groovy
/*
|
|
* This file is part of AndroidIDE.
|
|
*
|
|
* AndroidIDE is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* AndroidIDE is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.ext.compileSdk
|
|
buildToolsVersion rootProject.ext.buildTools
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.ext.minSdk
|
|
targetSdkVersion rootProject.ext.targetSdk
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation common.editor
|
|
implementation common.utilcode
|
|
implementation androidx.annotation
|
|
implementation google.guava_jre
|
|
implementation google.gson
|
|
|
|
implementation "com.github.marschall:zipfilesystem-standalone:1.0.1"
|
|
implementation 'com.google.auto.value:auto-value-annotations:1.9'
|
|
annotationProcessor 'com.google.auto.value:auto-value:1.9'
|
|
|
|
compileOnly androidx.appcompat
|
|
compileOnly project(':common')
|
|
|
|
implementation project(path: ':lsp:api')
|
|
implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'])
|
|
|
|
implementation "androidx.core:core-ktx:1.7.0"
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
testImplementation project(':common')
|
|
testImplementation 'com.google.truth:truth:1.1.3'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
testImplementation 'org.robolectric:robolectric:4.7.3'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
|
androidTestImplementation 'com.google.truth:truth:1.1.3'
|
|
testImplementation common.utilcode
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
} |