Skip to content

Commit 6536b86

Browse files
committed
CI Fix
1 parent 4ee520e commit 6536b86

File tree

2 files changed

+32
-18
lines changed

2 files changed

+32
-18
lines changed

demo/app/App_Resources/Android/app.gradle

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,26 @@
55
// compile 'com.android.support:recyclerview-v7:+'
66
//}
77

8-
android {
9-
defaultConfig {
10-
generatedDensities = []
11-
applicationId = "org.nativescript.demo"
12-
}
13-
aaptOptions {
14-
additionalParameters "--no-version-vectors"
15-
}
8+
9+
configurations.all {
10+
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
11+
def requested = details.requested
12+
if (requested.group == 'com.android.support') {
13+
if (!requested.name.startsWith("multidex")) {
14+
details.useVersion '27.0.2'
15+
}
16+
}
17+
18+
}
19+
}
20+
21+
22+
android {
23+
defaultConfig {
24+
generatedDensities = []
25+
applicationId = "org.nativescript.demo"
26+
}
27+
aaptOptions {
28+
additionalParameters "--no-version-vectors"
29+
}
1630
}

src/platforms/android/include.gradle

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
android {
2-
productFlavors {
3-
"nativescript-downloader" {
4-
dimension "nativescript-downloader"
5-
}
6-
}
2+
productFlavors {
3+
"nativescript-downloader" {
4+
dimension "nativescript-downloader"
5+
}
6+
}
77
}
88
repositories {
9-
maven {
10-
url 'https://maven.google.com'
11-
}
9+
maven {
10+
url 'https://maven.google.com'
11+
}
1212
}
1313

14-
dependencies{
15-
compile 'co.fitcom:fancydownloader:0.+'
14+
dependencies {
15+
compile 'co.fitcom:fancydownloader:0.+'
1616
}

0 commit comments

Comments
 (0)