Skip to content

Instantly share code, notes, and snippets.

@vkhitev
Last active October 18, 2017 18:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vkhitev/081a25fb0bba071ad164b959e125cd70 to your computer and use it in GitHub Desktop.
Save vkhitev/081a25fb0bba071ad164b959e125cd70 to your computer and use it in GitHub Desktop.
Dremio & Spark & Kotlin - build.gradle
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