mirror of
https://github.com/Genymobile/scrcpy
synced 2024-12-22 07:10:34 +00:00
a46150f753
Also adapt the call to build-tools/35.0.0/aidl, which now requires an import path (-I. for the current directory). Otherwise, it fails with: ERROR: android/view/IRotationWatcher.aidl:23.1-10: directory ./ is not found in any of the import paths: - Also upgrade AGP (8.7.1) and Gradle (8.9), required for SDK 35. <https://developer.android.com/build/releases/gradle-plugin#updating-gradle>
31 lines
743 B
Groovy
31 lines
743 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
namespace 'com.genymobile.scrcpy'
|
|
compileSdk 35
|
|
defaultConfig {
|
|
applicationId "com.genymobile.scrcpy"
|
|
minSdkVersion 21
|
|
targetSdkVersion 35
|
|
versionCode 20700
|
|
versionName "2.7"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
buildFeatures {
|
|
buildConfig true
|
|
aidl true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'junit:junit:4.13.2'
|
|
}
|
|
|
|
apply from: "$project.rootDir/config/android-checkstyle.gradle"
|