mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-27 14:30:08 +00:00
Enable core library desugaring to fix jmDNS on older Android versions
This commit is contained in:
1 parent
5c0c2390b2
commit
4eb24a8d7b
1 file changed
+3
@@ -59,6 +59,7 @@ android {
|
|||||||
encoding "UTF-8"
|
encoding "UTF-8"
|
||||||
sourceCompatibility JavaVersion.VERSION_17
|
sourceCompatibility JavaVersion.VERSION_17
|
||||||
targetCompatibility JavaVersion.VERSION_17
|
targetCompatibility JavaVersion.VERSION_17
|
||||||
|
coreLibraryDesugaringEnabled true
|
||||||
}
|
}
|
||||||
|
|
||||||
lint {
|
lint {
|
||||||
@@ -147,4 +148,6 @@ dependencies {
|
|||||||
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
|
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
|
||||||
implementation 'org.jmdns:jmdns:3.6.3'
|
implementation 'org.jmdns:jmdns:3.6.3'
|
||||||
implementation 'com.github.cgutman:ShieldControllerExtensions:1.0.1'
|
implementation 'com.github.cgutman:ShieldControllerExtensions:1.0.1'
|
||||||
|
|
||||||
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.5'
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user