Skip to content

Commit

Permalink
Upgrade android sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuxiang committed Jul 30, 2021
1 parent 29717f3 commit 979ec93
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
script:
- nvm install node
- yarn
- yarn build
- cd android
- ./gradlew build
- ls -lh app/build/outputs/apk
Expand All @@ -60,6 +61,7 @@ jobs:
- nvm install node
- brew install yarn
- yarn
- yarn build
- cd ios
- pod install
- xcodebuild -workspace RNBaiduMap.xcworkspace -scheme RNBaiduMap -sdk iphonesimulator -quiet
Expand Down Expand Up @@ -119,6 +121,6 @@ jobs:
stages:
- "test js"
- name: "build test for example"
if: branch = master
# if: branch = master
- name: "build test for new project"
if: branch = release
# if: branch = release
6 changes: 5 additions & 1 deletion lib/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ android {
minSdkVersion 16
targetSdkVersion 27
}

lintOptions {
abortOnError false
}
}

dependencies {
compile 'com.facebook.react:react-native:+'
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
compile 'qiuxiang:baidumap-sdk:0.0.5'
compile 'qiuxiang:baidumap-sdk:0.0.7'
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"location",
"baidumap"
],
"version": "0.6.1",
"version": "0.6.1-1",
"author": "7c00 <i@7c00.cc>",
"repository": {
"type": "git",
Expand Down

0 comments on commit 979ec93

Please sign in to comment.