revert java version bump until android studio has better support

This commit is contained in:
dkanada 2021-08-07 13:11:02 +09:00
commit dbacad4e6c
3 changed files with 7 additions and 7 deletions

View file

@ -52,13 +52,13 @@ android {
compileOptions { compileOptions {
coreLibraryDesugaringEnabled true coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_11 sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_1_8
} }
} }
dependencies { dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.20' implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.21'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0'
implementation 'com.github.jellyfin.jellyfin-apiclient-java:android:0.7.3' implementation 'com.github.jellyfin.jellyfin-apiclient-java:android:0.7.3'

View file

@ -1,9 +1,9 @@
-dontwarn -dontwarn
-ignorewarnings -ignorewarnings
-keep class com.dkanada.gramophone.**.* { *; } # Keep all Gelli classes and attributes -keep class com.dkanada.gramophone.**.* { *; }
-keepnames class **.* { *; } # Keep class and attribute names -keepnames class **.* { *; }
-keepattributes SourceFile,LineNumberTable # Keep file names/line numbers -keepattributes SourceFile,LineNumberTable
# Jellyfin API # Jellyfin API
-keepclasseswithmembers class org.jellyfin.apiclient.model.**.* { *; } -keepclasseswithmembers class org.jellyfin.apiclient.model.**.* { *; }

View file

@ -7,7 +7,7 @@ buildscript {
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:7.0.0' classpath 'com.android.tools.build:gradle:7.0.0'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.20' classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21'
} }
} }