Commit 3077d6319e18d870666e24bec0e543b8195ce6dc
1 parent
ca815b8f
升级jdk版本
Showing
2 changed files
with
3 additions
and
8 deletions
lib/android/build.gradle
... | ... | @@ -19,20 +19,15 @@ buildscript { |
19 | 19 | |
20 | 20 | android { |
21 | 21 | compileSdkVersion getExt('compileSdkVersion', 30) |
22 | - buildToolsVersion getExt('buildToolsVersion', '30.0.2') | |
22 | + buildToolsVersion getExt('buildToolsVersion', '30.0.0') | |
23 | 23 | |
24 | 24 | defaultConfig { |
25 | 25 | minSdkVersion getExt('minSdkVersion', 21) |
26 | 26 | targetSdkVersion getExt('targetSdkVersion', 30) |
27 | 27 | } |
28 | 28 | |
29 | - compileOptions { | |
30 | - sourceCompatibility JavaVersion.VERSION_1_8 | |
31 | - targetCompatibility JavaVersion.VERSION_1_8 | |
32 | - } | |
33 | - | |
34 | 29 | kotlinOptions { |
35 | - jvmTarget = '1.8' | |
30 | + jvmTarget = '11' | |
36 | 31 | } |
37 | 32 | } |
38 | 33 | ... | ... |