You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.6 KiB
Groovy
66 lines
1.6 KiB
Groovy
12 months ago
|
plugins {
|
||
|
id 'com.android.application'
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
compileSdk 32
|
||
|
|
||
|
defaultConfig {
|
||
|
applicationId "com.xypower.mpremote"
|
||
|
minSdk 24
|
||
|
targetSdk 32
|
||
|
versionCode 1
|
||
|
versionName "1.0"
|
||
|
|
||
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
externalNativeBuild {
|
||
|
cmake {
|
||
|
cppFlags ''
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
externalNativeBuild {
|
||
|
cmake {
|
||
|
path file('src/main/cpp/CMakeLists.txt')
|
||
|
version '3.18.1'
|
||
|
}
|
||
|
}
|
||
|
buildFeatures {
|
||
|
viewBinding true
|
||
|
}
|
||
|
|
||
|
packagingOptions {
|
||
|
exclude 'META-INF/LICENSE-notice.md'
|
||
|
exclude 'META-INF/LICENSE.md'
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
|
||
|
implementation 'androidx.appcompat:appcompat:1.3.0'
|
||
|
implementation 'com.google.android.material:material:1.4.0'
|
||
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
||
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10"
|
||
|
|
||
|
// https://mvnrepository.com/artifact/dev.mobile/dadb
|
||
|
implementation 'dev.mobile:dadb:1.2.7'
|
||
|
implementation files('libs/common-release.aar')
|
||
|
|
||
|
testImplementation 'junit:junit:4.13.2'
|
||
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
||
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
||
|
|
||
|
}
|