Skip to content

Commit

Permalink
fix: pick up correct android build tools version (#509)
Browse files Browse the repository at this point in the history
* fix: pick up correct android build tools version

* chore: simplify deploy
  • Loading branch information
vonovak authored Dec 11, 2021
1 parent 4074be8 commit 1e5aa5e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
8 changes: 4 additions & 4 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ def safeExtGet(prop, fallback) {
}

android {
compileSdkVersion safeExtGet('DocumentPicker_compileSdkVersion', 29)
buildToolsVersion safeExtGet('DocumentPicker_buildToolsVersion', '29.0.2')
compileSdkVersion safeExtGet('compileSdkVersion', 29)
buildToolsVersion safeExtGet('buildToolsVersion', '29.0.2')
defaultConfig {
minSdkVersion safeExtGet('DocumentPicker_minSdkVersion', 21)
targetSdkVersion safeExtGet('DocumentPicker_targetSdkVersion', 29)
minSdkVersion safeExtGet('minSdkVersion', 21)
targetSdkVersion safeExtGet('targetSdkVersion', 29)
versionCode 1
versionName "1.0"

Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"prepare": "bob build",
"release": "release-it",
"release": "yarn prepare && release-it",
"example": "yarn --cwd example",
"pods": "cd example && pod-install --quiet",
"bootstrap": "yarn example && yarn && yarn pods"
Expand Down Expand Up @@ -79,6 +79,11 @@
"react-native": "*",
"react-native-windows": "*"
},
"peerDependenciesMeta": {
"react-native-windows": {
"optional": true
}
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
Expand Down

0 comments on commit 1e5aa5e

Please sign in to comment.