Skip to content

Commit 99db89f

Browse files
committed
Fixing build
1 parent 7fd5f0a commit 99db89f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test-app/app/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def nativescriptDependencies = new JsonSlurper().parseText(dependenciesJson.text
6363
def computeCompileSdkVersion = { -> project.hasProperty("compileSdk") ? compileSdk : 26 }
6464
def computeTargetSdkVersion = { -> project.hasProperty("targetSdk") ? targetSdk : 26 }
6565
def computeBuildToolsVersion = { ->
66-
"25.2.5"
66+
project.hasProperty("buildToolsVersion") ? buildToolsVersion : "27.0.1"
6767
}
6868

6969
project.ext.selectedBuildType = project.hasProperty("release") ? "release" : "debug"
@@ -224,8 +224,7 @@ dependencies {
224224
println "\t + adding nativescript runtime package dependency: $runtime"
225225
project.dependencies.add("implementation", [name: runtime, ext: "aar"])
226226
} else {
227-
implementation project(':runtime')
228-
227+
implementation project(path: ':runtime', configuration: 'default')
229228
}
230229
}
231230

0 commit comments

Comments
 (0)