Skip to content

Instantly share code, notes, and snippets.

@TarodBOFH
Created August 24, 2018 09:12
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 TarodBOFH/5bbb1d1907f2a0e4c7ce58e0fa3560de to your computer and use it in GitHub Desktop.
Save TarodBOFH/5bbb1d1907f2a0e4c7ce58e0fa3560de to your computer and use it in GitHub Desktop.
repositories {
jcenter()
mavenCentral()
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.51"
}
}
group 'org.tarodbofh.medium'
version '1.0-SNAPSHOT'
apply plugin: 'kotlin'
dependencies {
testCompile "io.mockk:mockk:1.8.5"
testCompile "org.junit.jupiter:junit-jupiter-api:5.2.0"
testRuntime "org.junit.jupiter:junit-jupiter-engine:5.2.0"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
test {
testLogging {
exceptionFormat = 'full'
}
useJUnitPlatform {
}
systemProperties = [
'org.junit.platform.console.options.Details': 'tree',
'spring.profiles.active': 'local-test'
]
}
[compileKotlin, compileTestKotlin]*.kotlinOptions*.javaParameters = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment