소스 검색

added desugaring feature

flutter-beta
Vinicius Sossella 4 년 전
부모
커밋
de7757d64c
1개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  1. +9
    -1
      android/build.gradle

+ 9
- 1
android/build.gradle 파일 보기

@@ -34,11 +34,18 @@ android {
// minSdkVersion is determined by Native View.
minSdkVersion 20
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
buildFeatures {
viewBinding = true
}

compileOptions {
// Flag to enable support for the new language APIs
coreLibraryDesugaringEnabled true
// Sets Java compatibility to Java 8
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}

dependencies {
@@ -46,4 +53,5 @@ dependencies {
implementation('com.journeyapps:zxing-android-embedded:4.1.0') { transitive = false }
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'com.google.zxing:core:3.4.1'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
}

불러오는 중...
취소
저장