更新Gradle Plugin

This commit is contained in:
Raymond Yang
2023-05-22 13:36:56 +08:00
parent ba12fd3856
commit fdb88fc47a
5 changed files with 30 additions and 15 deletions
+14 -2
View File
@@ -2,9 +2,10 @@ apply plugin: 'com.android.library'
apply plugin: 'org.jetbrains.kotlin.android'
android {
namespace 'com.hisharp.gstreamer_player'
ndkVersion "21.3.6528147"
compileSdkVersion 33
compileSdk 33
defaultConfig {
minSdkVersion 15
@@ -58,6 +59,17 @@ android {
path 'jni/Android.mk'
}
}
buildFeatures {
renderScript true
aidl true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '17'
}
}
afterEvaluate {
@@ -69,7 +81,7 @@ afterEvaluate {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.core:core-ktx:1.10.1'
testImplementation 'junit:junit:4.13.2'
//implementation 'androidx.appcompat:appcompat:1.6.0'
}