Skip to content

Instantly share code, notes, and snippets.

@FrozenDroid
Created July 12, 2018 14:58
Show Gist options
  • Save FrozenDroid/1ab49fb973b13e433121178dced343e2 to your computer and use it in GitHub Desktop.
Save FrozenDroid/1ab49fb973b13e433121178dced343e2 to your computer and use it in GitHub Desktop.
buildscript {
ext {
kotlinVersion = '1.2.50'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}")
classpath("org.jetbrains.kotlin:kotlin-allopen:${kotlinVersion}")
}
}
apply plugin: 'kotlin'
group = 'io.videosync'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
compileKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xjsr305=strict"]
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xjsr305=strict"]
jvmTarget = "1.8"
}
}
repositories {
mavenCentral()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment