Created
October 3, 2016 15:30
-
-
Save elw00d/8706a59b576f928221e67f272537d2ec to your computer and use it in GitHub Desktop.
This file contains hidden or 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
buildscript { | |
ext.kotlinVersion = '1.0.4' | |
ext.kotlinSupportJdk8Version = '0.3' | |
ext.jacksonVersion="2.7.4" | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" | |
} | |
} | |
apply plugin: 'java' | |
apply plugin: 'kotlin' | |
sourceCompatibility = 1.8 | |
targetCompatibility = 1.8 | |
version = '1.0' | |
compileJava.options.encoding = 'UTF-8' | |
repositories { | |
jcenter() | |
maven { | |
url 'https://repo.eclipse.org/content/groups/releases/' | |
} | |
} | |
dependencies { | |
// Kotlin | |
compile "org.jetbrains.kotlinx:kotlinx-support-jdk8:$kotlinSupportJdk8Version" | |
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion" | |
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion" | |
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlinVersion" | |
// Jackson | |
compile "com.fasterxml.jackson.core:jackson-databind:$jacksonVersion" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment