Skip to content

Instantly share code, notes, and snippets.

@lankydan
Created August 12, 2019 09: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 lankydan/5d41bb5652583a12b088dfac85bc37af to your computer and use it in GitHub Desktop.
Save lankydan/5d41bb5652583a12b088dfac85bc37af to your computer and use it in GitHub Desktop.
Corda + Ktor - dependencies
buildscript {
ext.ktor_version = '1.2.2'
ext.kotlin_version_for_app = '1.3.41'
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version_for_app"
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
java {
disableAutoTargetJvm()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version_for_app"
compile "$corda_release_group:corda-jackson:$corda_release_version"
compile "$corda_release_group:corda-rpc:$corda_release_version"
compile "$corda_release_group:corda:$corda_release_version"
compile "io.ktor:ktor-server-netty:$ktor_version"
compile "ch.qos.logback:logback-classic:1.2.3"
implementation ("io.ktor:ktor-jackson:$ktor_version") {
exclude group: 'com.fasterxml.jackson.module', module: 'jackson-module-kotlin'
}
compile project(":contracts")
compile project(":workflows")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment