plugins { id 'com.android.application' } android { compileSdk 34 buildToolsVersion "34.0.0" defaultConfig { applicationId "io.github.lsposed.disableflagsecure" minSdkVersion 24 targetSdkVersion 34 versionCode rootProject.ext.commitCount versionName "4.0.2" } Properties localProperties = new Properties() if (project.rootProject.file('local.properties').exists()) { localProperties.load(project.rootProject.file('local.properties').newDataInputStream()) } signingConfigs { if (localProperties.getProperty("storeFile") != null) { config { storeFile project.rootProject.file(localProperties.getProperty("storeFile")) storePassword localProperties.getProperty("storePassword") keyAlias localProperties.getProperty("keyAlias") keyPassword localProperties.getProperty("keyPassword") } } } buildTypes { debug { if (localProperties.getProperty("storeFile") != null) { signingConfig signingConfigs.config } } release { if (localProperties.getProperty("storeFile") != null) { signingConfig signingConfigs.config } else { signingConfig signingConfigs.debug } minifyEnabled true proguardFiles 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } lint { checkReleaseBuilds false } dependenciesInfo.includeInApk false namespace 'io.github.lsposed.disableflagsecure' } dependencies { compileOnly 'androidx.annotation:annotation:1.8.1' compileOnly 'io.github.libxposed:api:100' }