plugins { id 'com.android.application' } android { compileSdk 35 buildToolsVersion "35.0.1" defaultConfig { applicationId "io.github.lsposed.disableflagsecure" minSdkVersion 31 targetSdkVersion 35 versionCode rootProject.ext.commitCount versionName "4.2.0" } 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 } vcsInfo.include false minifyEnabled true proguardFiles 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_21 targetCompatibility JavaVersion.VERSION_21 } lint { checkReleaseBuilds false } dependenciesInfo.includeInApk false namespace 'io.github.lsposed.disableflagsecure' } dependencies { compileOnly 'androidx.annotation:annotation:1.9.1' compileOnly 'io.github.libxposed:api:100' compileOnly project(":libxposed-compat") }