2020-08-24 17:47:57 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 30
|
2021-06-08 18:25:01 +02:00
|
|
|
buildToolsVersion "30.0.2"
|
2020-08-24 17:47:57 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
2022-01-25 19:25:47 +01:00
|
|
|
applicationId "vanced.integrations"
|
2020-08-24 17:47:57 +02:00
|
|
|
minSdkVersion 21
|
|
|
|
targetSdkVersion 30
|
|
|
|
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 {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2020-08-24 17:47:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-06-08 18:25:01 +02:00
|
|
|
implementation 'androidx.annotation:annotation:1.2.0'
|
|
|
|
}
|
2020-08-24 17:47:57 +02:00
|
|
|
|