...

Text file src/github.com/google/flatbuffers/android/build.gradle

Documentation: github.com/google/flatbuffers/android

     1// Top-level build file where you can add configuration options common to all sub-projects/modules.
     2buildscript {
     3  ext.kotlin_version = "1.7.21"
     4  repositories {
     5    google()
     6    mavenCentral()
     7  }
     8  dependencies {
     9    classpath 'com.android.tools.build:gradle:7.4.1'
    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    mavenCentral()
    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}

View as plain text