mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-22 12:35:01 +00:00
41 lines
1.3 KiB
Groovy
41 lines
1.3 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 31
|
|
defaultConfig {
|
|
applicationId "com.genymobile.scrcpy"
|
|
minSdkVersion 21
|
|
targetSdkVersion 31
|
|
versionCode 12400
|
|
versionName "1.24"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
signingConfigs {
|
|
release {
|
|
// to be defined in server/keystore.properties (see server/HOWTO_keystore.txt)
|
|
def keystorePropsFile = rootProject.file("server/keystore.properties")
|
|
if (keystorePropsFile.exists()) {
|
|
def props = new Properties()
|
|
props.load(new FileInputStream(keystorePropsFile))
|
|
|
|
storeFile rootProject.file(props['storeFile'])
|
|
storePassword props['storePassword']
|
|
keyAlias props['keyAlias']
|
|
keyPassword props['keyPassword']
|
|
}
|
|
}
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.release
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'junit:junit:4.13.1'
|
|
}
|
|
|
|
apply from: "$project.rootDir/config/android-checkstyle.gradle"
|