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.
63 lines
1.6 KiB
Groovy
63 lines
1.6 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
}
|
|
|
|
android {
|
|
compileSdk 32
|
|
|
|
defaultConfig {
|
|
applicationId "com.xypower.frpandroid"
|
|
minSdk 25
|
|
targetSdk 32
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
buildConfigField("String", "FrpVersion", '"0.56.0"')
|
|
buildConfigField("String", "FrpcFileName", '"libfrpc.so"')
|
|
buildConfigField("String", "LogFileName", '"frpc.log"')
|
|
buildConfigField("String", "ConfigFileName", '"config.toml"')
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
jniLibs.srcDirs = ['libs']
|
|
}
|
|
}
|
|
|
|
packagingOptions {
|
|
jniLibs {
|
|
useLegacyPackaging true
|
|
}
|
|
}
|
|
splits {
|
|
abi {
|
|
enable true
|
|
reset()
|
|
include "arm64-v8a", "x86_64", "armeabi-v7a"
|
|
universalApk true
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation 'com.android.support:appcompat-v7:28.0.0'
|
|
implementation 'com.android.support.constraint:constraint-layout:2.0.4'
|
|
implementation 'org.jetbrains:annotations:15.0'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
|
} |