Feri Nagy
09/03/2019, 10:58 AMbuildSrc
. Now (hopefully) only last thing remains.
In the buildSrc/build.gradle.kts
we have:
dependencies {
implementation("com.android.tools.build:gradle:3.4.1")
}
Then in root project’s build.gradle.kts
we have:
buildscript {
repositories {
google()
...
}
dependencies {
classpath("com.android.tools.build:gradle:3.4.1")
...
}
}
Is there a way so that the version 3.4.1
would be specified only in single place? Thanks for any tips.mbonnin
09/03/2019, 11:25 AMclasspath("com.android.tools.build:gradle:3.4.1")
in your root gradle file ? I've read somewhere that dependencies of buildSrc
are applied to other build scripts.gildor
09/03/2019, 11:44 AMbuildscript.classpath
, it’s already in classpathFeri Nagy
09/03/2019, 11:49 AMUnresolved reference: assembleProvider
, which is weird, because if I comment it out, everything else works.app/build.gradle.kts
I get 3.2.1
. Any idea why that would happen?gildor
09/03/2019, 2:28 PMFeri Nagy
09/03/2019, 3:48 PM