Skip to content

Commit 3ee88df

Browse files
committed
fix gradle
1 parent 15d044d commit 3ee88df

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

demo/package.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,13 @@
4040
},
4141
"scripts": {
4242
"build.plugin": "cd ../src && npm run build",
43-
"ci.tslint":
44-
"npm i && tslint --config '../tslint.json' 'app/**/*.ts' --exclude '**/node_modules/**'",
43+
"ci.tslint": "npm i && tslint --config '../tslint.json' 'app/**/*.ts' --exclude '**/node_modules/**'",
4544
"ns-bundle": "ns-bundle",
4645
"publish-ios-bundle": "npm run ns-bundle --ios --publish-app",
47-
"generate-android-snapshot":
48-
"generate-android-snapshot --targetArchs arm,arm64,ia32 --install",
49-
"start-android-bundle":
50-
"npm run ns-bundle --android --run-app --uglify --snapshot",
51-
"start-ios-bundle": "npm run ns-bundle --ios --run-app --uglify",
52-
"build-android-bundle":
53-
"npm run ns-bundle --android --build-app --uglify --snapshot",
54-
"build-ios-bundle": "npm run ns-bundle --ios --build-app --uglify"
46+
"generate-android-snapshot": "generate-android-snapshot --targetArchs arm,arm64,ia32 --install",
47+
"start-android-bundle": "npm run ns-bundle --android --run-app",
48+
"start-ios-bundle": "npm run ns-bundle --ios --run-app",
49+
"build-android-bundle": "npm run ns-bundle --android --build-app",
50+
"build-ios-bundle": "npm run ns-bundle --ios --build-app"
5551
}
5652
}

src/platforms/android/include.gradle

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,17 @@ android {
77
}
88
}
99

10+
allprojects {
11+
repositories {
12+
jcenter()
13+
maven {
14+
url "https://maven.google.com"
15+
}
16+
}
17+
}
18+
1019
dependencies {
11-
def supportVer = "26.0.0";
20+
def supportVer = "26.1.0";
1221

1322
if(project.hasProperty("supportVersion")) {
1423
supportVer = supportVersion

0 commit comments

Comments
 (0)