build: modernize build code (#148)

This commit is contained in:
Patryk Miś
2022-09-22 02:08:04 +02:00
committed by GitHub
parent 0a1f42595e
commit c4be039367
6 changed files with 273 additions and 206 deletions

View File

@ -1,14 +1,17 @@
apply plugin: 'com.android.application'
apply plugin: 'org.jetbrains.kotlin.android'
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
}
android {
compileSdkVersion 32
compileSdk 32
buildToolsVersion "32.0.0"
namespace 'app.revanced.integrations'
defaultConfig {
applicationId "app.revanced.integrations"
minSdkVersion 23
targetSdkVersion 32
minSdk 23
targetSdk 32
versionCode 1
versionName "1.0"
multiDexEnabled false
@ -31,9 +34,11 @@ android {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '11'
}
}
dependencies {
compileOnly 'androidx.annotation:annotation:1.4.0'
compileOnly 'androidx.annotation:annotation:1.5.0'
}