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,20 +19,15 @@ buildscript { | ||
19 | 19 | ||
20 | android { | 20 | android { |
21 | compileSdkVersion getExt('compileSdkVersion', 30) | 21 | compileSdkVersion getExt('compileSdkVersion', 30) |
22 | - buildToolsVersion getExt('buildToolsVersion', '30.0.2') | 22 | + buildToolsVersion getExt('buildToolsVersion', '30.0.0') |
23 | 23 | ||
24 | defaultConfig { | 24 | defaultConfig { |
25 | minSdkVersion getExt('minSdkVersion', 21) | 25 | minSdkVersion getExt('minSdkVersion', 21) |
26 | targetSdkVersion getExt('targetSdkVersion', 30) | 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 | kotlinOptions { | 29 | kotlinOptions { |
35 | - jvmTarget = '1.8' | 30 | + jvmTarget = '11' |
36 | } | 31 | } |
37 | } | 32 | } |
38 | 33 |
package.json
1 | { | 1 | { |
2 | "name": "@cqfw/react-native-amap3d", | 2 | "name": "@cqfw/react-native-amap3d", |
3 | - "version": "0.2.0", | 3 | + "version": "0.2.1", |
4 | "description": "react-native 高德地图组件,支持 Android + iOS", | 4 | "description": "react-native 高德地图组件,支持 Android + iOS", |
5 | "author": "feewee", | 5 | "author": "feewee", |
6 | "license": "MIT", | 6 | "license": "MIT", |