Skip to content

Commit 6ec7e4d

Browse files
committed
update gradle
1 parent 7082d33 commit 6ec7e4d

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

lib/android-jsc/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
apply plugin: 'com.android.library'
22

33
android {
4-
compileSdkVersion 27
4+
compileSdkVersion 28
55

66
defaultConfig {
77
minSdkVersion 21
8-
targetSdkVersion 27
8+
targetSdkVersion 28
99
versionCode 1
1010
versionName "1.0"
1111
}
@@ -24,8 +24,8 @@ apply plugin: 'maven'
2424
task createAAR(type: Upload) {
2525
def distDir = "${rootDir}/../dist"
2626

27-
def revision = project.findProperty("revision").replaceAll("\\s","")
28-
def i18n = project.findProperty("i18n")
27+
def revision = project.findProperty("revision") ?: "".replaceAll("\\s", "")
28+
def i18n = project.findProperty("i18n") ?: ""
2929

3030
doFirst {
3131
if (!revision) throw new RuntimeException("expecting --project-prop revision=??? but was empty")

lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
mavenLocal()
99
}
1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:3.1.3'
11+
classpath 'com.android.tools.build:gradle:3.2.0'
1212

1313
// NOTE: Do not place your application dependencies here; they belong
1414
// in the individual module build.gradle files

measure/android/app/build.gradle

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ apply plugin: "com.android.application"
33
apply from: "$rootDir/../node_modules/react-native/react.gradle"
44

55
android {
6-
compileSdkVersion 27
7-
buildToolsVersion "27.0.3"
6+
compileSdkVersion 28
87

98
defaultConfig {
109
applicationId "com.javascriptcore.profiler"
1110
minSdkVersion 21
12-
targetSdkVersion 27
11+
targetSdkVersion 28
1312
versionCode 1
1413
versionName "1.0"
1514
ndk {
@@ -35,6 +34,6 @@ android {
3534

3635
dependencies {
3736
implementation fileTree(dir: "libs", include: ["*.jar"])
38-
implementation "com.android.support:appcompat-v7:27.1.1"
37+
implementation "com.android.support:appcompat-v7:28.0.0"
3938
implementation "com.facebook.react:react-native:+" // From node_modules
4039
}

measure/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ buildscript {
3535
mavenLocal()
3636
}
3737
dependencies {
38-
classpath 'com.android.tools.build:gradle:3.1.3'
38+
classpath 'com.android.tools.build:gradle:3.2.0'
3939
}
4040
}
4141

0 commit comments

Comments
 (0)