mirror of
https://github.com/izzy2lost/PSX2.git
synced 2026-07-05 15:18:36 -07:00
updat java
This commit is contained in:
+13
-2
@@ -50,8 +50,9 @@ android {
|
||||
abortOnError false
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
sourceCompatibility JavaVersion.VERSION_21
|
||||
targetCompatibility JavaVersion.VERSION_21
|
||||
coreLibraryDesugaringEnabled true
|
||||
}
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
@@ -85,6 +86,7 @@ tasks.register('bumpVersion') {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
|
||||
implementation 'androidx.appcompat:appcompat:1.7.1'
|
||||
implementation 'com.google.android.material:material:1.14.0-alpha04'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
|
||||
@@ -95,3 +97,12 @@ dependencies {
|
||||
implementation 'com.github.bumptech.glide:glide:4.16.0'
|
||||
annotationProcessor 'com.github.bumptech.glide:compiler:4.16.0'
|
||||
}
|
||||
|
||||
def javaToolchainService = project.extensions.getByType(org.gradle.jvm.toolchain.JavaToolchainService)
|
||||
|
||||
tasks.withType(org.gradle.api.tasks.compile.JavaCompile).configureEach {
|
||||
javaCompiler = javaToolchainService.compilerFor {
|
||||
languageVersion = org.gradle.jvm.toolchain.JavaLanguageVersion.of(21)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+3
-1
@@ -19,4 +19,6 @@ android.useAndroidX=true
|
||||
# resources declared in the library itself and none from the library's dependencies,
|
||||
# thereby reducing the size of the R class for that library
|
||||
android.nonTransitiveRClass=true
|
||||
android.suppressUnsupportedCompileSdk=36
|
||||
android.suppressUnsupportedCompileSdk=36
|
||||
org.gradle.java.installations.paths=C:/Program Files/Android/Android Studio/jbr
|
||||
|
||||
|
||||
Reference in New Issue
Block a user