mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-09-01 03:55:30 +02:00
45 lines
1.1 KiB
Groovy
45 lines
1.1 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
}
|
|
|
|
android {
|
|
compileSdk 32
|
|
buildToolsVersion "32.0.0"
|
|
namespace 'app.revanced.integrations'
|
|
|
|
defaultConfig {
|
|
applicationId "app.revanced.integrations"
|
|
minSdk 23
|
|
targetSdk 32
|
|
versionCode 1
|
|
versionName "1.0"
|
|
multiDexEnabled false
|
|
|
|
Properties properties = new Properties()
|
|
if (rootProject.file("local.properties").exists()) {
|
|
properties.load(rootProject.file("local.properties").newDataInputStream())
|
|
}
|
|
|
|
buildConfigField "String", "YT_API_KEY", "\"${properties.getProperty("youtubeAPIKey", "")}\""
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '11'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'androidx.annotation:annotation:1.5.0'
|
|
}
|