revanced-integrations/app/build.gradle

39 lines
1018 B
Groovy
Raw Normal View History

2020-08-24 17:47:57 +02:00
apply plugin: 'com.android.application'
android {
compileSdkVersion 30
buildToolsVersion "30.0.2"
2020-08-24 17:47:57 +02:00
defaultConfig {
applicationId "vanced.integrations"
2020-08-24 17:47:57 +02:00
minSdkVersion 21
targetSdkVersion 30
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", "")}\""
2020-08-24 17:47:57 +02:00
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
2020-08-24 17:47:57 +02:00
}
dependencies {
implementation 'androidx.annotation:annotation:1.2.0'
}
2020-08-24 17:47:57 +02:00