2020-08-24 17:47:57 +02:00
|
|
|
apply plugin: 'com.android.application'
|
2022-07-05 22:02:27 +02:00
|
|
|
apply plugin: 'org.jetbrains.kotlin.android'
|
2020-08-24 17:47:57 +02:00
|
|
|
|
|
|
|
android {
|
2022-02-16 02:05:23 +01:00
|
|
|
compileSdkVersion 32
|
2022-06-24 00:16:32 +02:00
|
|
|
namespace 'app.revanced.integrations'
|
2020-08-24 17:47:57 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
2022-06-24 00:16:32 +02:00
|
|
|
applicationId "app.revanced.integrations"
|
2022-07-31 12:15:16 +02:00
|
|
|
minSdkVersion 24
|
2022-06-11 21:37:26 +02:00
|
|
|
targetSdkVersion 32
|
2020-08-24 17:47:57 +02:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
2021-06-08 18:25:01 +02:00
|
|
|
multiDexEnabled false
|
2022-01-25 19:25:47 +01:00
|
|
|
|
|
|
|
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", "")}\""
|
2020-08-24 17:47:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2021-06-08 18:25:01 +02:00
|
|
|
compileOptions {
|
2022-07-02 06:18:52 +02:00
|
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
|
|
targetCompatibility JavaVersion.VERSION_11
|
2021-06-08 18:25:01 +02:00
|
|
|
}
|
2020-08-24 17:47:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-07-02 06:18:52 +02:00
|
|
|
compileOnly 'androidx.annotation:annotation:1.4.0'
|
2022-06-27 22:08:50 +02:00
|
|
|
compileOnly 'androidx.constraintlayout:constraintlayout:2.1.4'
|
2021-06-08 18:25:01 +02:00
|
|
|
}
|
2020-08-24 17:47:57 +02:00
|
|
|
|