i started developing a bigger project completly in...
# android
b
i started developing a bigger project completly in kotlin with a few submodules. at first i specified the buildscript configuration in the root build.gradle. i focused a lot of building errors and it sometimes worked after a clean build and sometimes not. so i added the buildscript block for kotlin in every submodule:
Copy code
buildscript {
  repositories {
    jcenter()
  }
  dependencies {
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
    classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlinVersion"
  }
}
is this the recommend approach or are there better/recommend solutions?