Skip to content

Instantly share code, notes, and snippets.

@alexcheng1982
Created January 31, 2018 21:11
Show Gist options
  • Save alexcheng1982/cc20a752043346c61109dd02bedc695d to your computer and use it in GitHub Desktop.
Save alexcheng1982/cc20a752043346c61109dd02bedc695d to your computer and use it in GitHub Desktop.
Akka Streams Camel integration build script
buildscript {
ext.kotlin_version = '1.2.21'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
group 'io.vividcode.akkastreams'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'kotlin'
sourceCompatibility = 1.8
repositories {
maven {
url "http://dl.bintray.com/krasserm/maven"
}
maven {
url "https://dl.bintray.com/akka/maven"
}
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile group: 'com.typesafe.akka', name: 'akka-stream_2.12', version: '2.5.9'
compile group: 'com.github.krasserm', name: 'streamz-camel-akka_2.12', version: '0.9-M1'
runtime group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
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