-
-
Save vkhitev/081a25fb0bba071ad164b959e125cd70 to your computer and use it in GitHub Desktop.
Dremio & Spark & Kotlin - build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version '1.0-SNAPSHOT' | |
buildscript { | |
ext.kotlin_version = '1.1.51' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
} | |
} | |
apply plugin: 'kotlin' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version" | |
// https://mvnrepository.com/artifact/org.apache.spark/spark-sql_2.10 | |
compile group: 'org.apache.spark', name: 'spark-sql_2.10', version: '2.1.0' | |
} | |
compileKotlin { | |
kotlinOptions.jvmTarget = "1.8" | |
} | |
compileTestKotlin { | |
kotlinOptions.jvmTarget = "1.8" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment