• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Top-level build file where you can add configuration options common to all sub-projects/modules.
2buildscript {
3  ext.kotlin_version = "1.4.10"
4  repositories {
5    google()
6    jcenter()
7  }
8  dependencies {
9    classpath 'com.android.tools.build:gradle:4.1.0'
10    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11
12    // NOTE: Do not place your application dependencies here; they belong
13    // in the individual module build.gradle files
14  }
15}
16
17allprojects {
18  repositories {
19    google()
20    jcenter()
21  }
22}
23
24tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
25  sourceCompatibility = JavaVersion.VERSION_1_8
26  targetCompatibility = JavaVersion.VERSION_1_8
27
28  compileKotlin {
29    dependsOn flatbuffer
30  }
31}
32
33task clean(type: Delete) {
34  delete rootProject.buildDir
35}
36