Skip to content

Instantly share code, notes, and snippets.

@sagar2093
Created May 22, 2020 14:06
Show Gist options
  • Save sagar2093/38b16e0040ac0f452d7d660dbffb51b5 to your computer and use it in GitHub Desktop.
Save sagar2093/38b16e0040ac0f452d7d660dbffb51b5 to your computer and use it in GitHub Desktop.
compose top level build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.71'
def compose_release_version = "dev11"
ext.compose_version = "0.1.0-$compose_release_version"
ext.compose_compiler_extension_version = "0.1.0-$compose_release_version"
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.0-alpha09"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment