更新Gradle Plugin
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user