Skip to content

Instantly share code, notes, and snippets.

@erikthered
Created April 10, 2017 14:20
Show Gist options
  • Save erikthered/508c6e220c3c1fcabc5390f13f90a90b to your computer and use it in GitHub Desktop.
Save erikthered/508c6e220c3c1fcabc5390f13f90a90b to your computer and use it in GitHub Desktop.
Kotlin JRE8 build.gradle skeleton
group 'io.github.erikthered'
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.1.1'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
testCompile "junit:junit:4.12"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment