thol01
09/09/2020, 8:42 AMthol01
09/09/2020, 8:47 AMLeoColman
09/09/2020, 8:47 AMLeoColman
09/09/2020, 8:47 AMthol01
09/09/2020, 8:51 AMplugins {
id 'org.springframework.boot' version '2.3.3.RELEASE'
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
id 'org.jetbrains.kotlin.jvm' version '1.4.0'
id "org.jetbrains.kotlin.plugin.allopen" version "1.4.0"
id 'org.jetbrains.kotlin.plugin.spring' version '1.4.0'
id 'org.jetbrains.kotlin.plugin.serialization' version '1.4.0'
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
version = System.getenv('version') ?: "$project.version"
springBoot {
mainClassName = 'infotorg.consumer.cnr.AppKt'
}
compileKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xjsr305=strict", "-Xopt-in=kotlin.RequiresOptIn"]
jvmTarget = "11"
}
}
compileTestKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xjsr305=strict"]
jvmTarget = "11"
}
}
test {
useJUnitPlatform()
}
// This is so we only publish our stubs to artifactory when master is build
tasks.withType(PublishToMavenRepository) {
onlyIf {
System.getenv('branchName') == 'master'
}
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-configuration-processor'
implementation 'org.springframework.kafka:spring-kafka'
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb-reactive:2.3.3.RELEASE'
implementation 'org.springframework.plugin:spring-plugin-core:2.0.0.RELEASE'
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-core:1.0.0-RC'
implementation 'org.jetbrains.kotlin:kotlin-reflect'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.3.9'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-reactor:1.3.9'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9'
implementation 'com.fasterxml.jackson.module:jackson-module-kotlin:2.11.2'
implementation 'com.jayway.jsonpath:json-path:2.4.0'
implementation 'com.bisnode.response:responsekt:2.0.0'
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude module: 'junit-vintage-engine'
exclude module: 'mockito-core'
}
testImplementation 'io.kotest:kotest-runner-junit5-jvm:4.2.4'
testImplementation 'com.ninja-squad:springmockk:2.0.3'
testImplementation 'io.mockk:mockk:1.10.0'
testImplementation 'io.rest-assured:spring-mock-mvc:3.3.0'
testImplementation 'io.projectreactor:reactor-test'
testImplementation 'org.springframework.kafka:spring-kafka-test'
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.9'
testImplementation 'de.flapdoodle.embed:de.flapdoodle.embed.mongo'
}
thol01
09/09/2020, 8:52 AMLeoColman
09/09/2020, 8:58 AMjunit5-jvm
bit correctlyLeoColman
09/09/2020, 8:58 AMthol01
09/09/2020, 9:08 AMthol01
09/09/2020, 9:11 AMthol01
09/09/2020, 9:12 AMLeoColman
09/09/2020, 9:45 AMLeoColman
09/09/2020, 9:46 AMLeoColman
09/09/2020, 9:47 AMLeoColman
09/09/2020, 9:47 AMthol01
09/09/2020, 9:56 AMLeoColman
09/09/2020, 10:20 AMthol01
09/09/2020, 10:47 AMthol01
09/09/2020, 10:47 AMthol01
09/09/2020, 10:47 AMimport org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.jetbrains.kotlin.jvm") version "1.4.0"
kotlin("plugin.serialization") version "1.4.0-rc"
// Apply the java-library plugin for API and implementation separation.
// `java-library`
}
java {
targetCompatibility = JavaVersion.VERSION_1_8
}
tasks.test {
useJUnitPlatform()
}
repositories {
mavenCentral()
jcenter()
maven("<https://kotlin.bintray.com/kotlinx>")
}
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.apiVersion = "1.4"
}
tasks.withType<Test> {
useJUnitPlatform()
}
dependencies {
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:1.0.0-RC")
implementation(kotlin("reflect"))
testImplementation("io.kotlintest:kotlintest-runner-junit5:3.4.2")
}
thol01
09/09/2020, 10:48 AMthol01
09/09/2020, 10:48 AMCould not resolve all files for configuration ‘:compileClasspath’.> Could not resolve com.bisnode.responseresponsekt2.0.1-SNAPSHOT. Required by: project : > No matching variant of com.bisnode.responseresponsekt2.0.1-SNAPSHOT:20200828.054422-1 was found. The consumer was configured to find an API of a library compatible with Java 8, preferably in the form of class files, and its dependencies declared externally, as well as attribute ‘org.jetbrains.kotlin.platform.type’ with value ‘jvm’ but: - Variant ‘apiElements’ capability com.bisnode.responseresponsekt2.0.1-SNAPSHOT declares an API of a library, packaged as a jar, and its dependencies declared externally, as well as attribute ‘org.jetbrains.kotlin.platform.type’ with value ‘jvm’: - Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8 - Variant ‘runtimeElements’ capability com.bisnode.responseresponsekt2.0.1-SNAPSHOT declares a runtime of a library, packaged as a jar, and its dependencies declared externally, as well as attribute ‘org.jetbrains.kotlin.platform.type’ with value ‘jvm’: - Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8
thol01
09/09/2020, 10:49 AMthol01
09/09/2020, 10:49 AMplugins {
id 'org.springframework.boot' version '2.3.3.RELEASE'
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
id 'org.jetbrains.kotlin.jvm' version '1.4.0'
id "org.jetbrains.kotlin.plugin.allopen" version "1.4.0"
id 'org.jetbrains.kotlin.plugin.spring' version '1.4.0'
id 'org.jetbrains.kotlin.plugin.serialization' version '1.4.0'
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
java {
targetCompatibility = JavaVersion.VERSION_1_8
}
version = System.getenv('version') ?: "$project.version"
springBoot {
mainClassName = 'infotorg.consumer.cnr.AppKt'
}
compileKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xjsr305=strict", "-Xopt-in=kotlin.RequiresOptIn"]
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xjsr305=strict"]
jvmTarget = "1.8"
}
}
test {
useJUnitPlatform()
}
// This is so we only publish our stubs to artifactory when master is build
tasks.withType(PublishToMavenRepository) {
onlyIf {
System.getenv('branchName') == 'master'
}
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-configuration-processor'
implementation 'org.springframework.kafka:spring-kafka'
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb-reactive:2.3.3.RELEASE'
implementation 'org.springframework.plugin:spring-plugin-core:2.0.0.RELEASE'
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-core:1.0.0-RC'
implementation 'org.jetbrains.kotlin:kotlin-reflect'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.3.9'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-reactor:1.3.9'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9'
implementation 'com.fasterxml.jackson.module:jackson-module-kotlin:2.11.2'
implementation 'com.jayway.jsonpath:json-path:2.4.0'
implementation 'com.bisnode.response:responsekt:2.0.1-SNAPSHOT'
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude module: 'junit-vintage-engine'
exclude module: 'mockito-core'
}
testImplementation 'io.kotest:kotest-runner-junit5-jvm:4.2.4'
testImplementation 'com.ninja-squad:springmockk:2.0.3'
testImplementation 'io.mockk:mockk:1.10.0'
testImplementation 'io.rest-assured:spring-mock-mvc:3.3.0'
testImplementation 'io.projectreactor:reactor-test'
testImplementation 'org.springframework.kafka:spring-kafka-test'
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.9'
testImplementation 'de.flapdoodle.embed:de.flapdoodle.embed.mongo'
}
thol01
09/09/2020, 10:50 AMLeoColman
09/09/2020, 11:05 AMLeoColman
09/09/2020, 11:05 AMLeoColman
09/09/2020, 11:05 AMLeoColman
09/09/2020, 11:10 AMLeoColman
09/09/2020, 11:15 AMthol01
09/09/2020, 11:53 AMthol01
09/09/2020, 11:54 AMthol01
09/09/2020, 11:55 AMLeoColman
09/09/2020, 12:19 PMLeoColman
09/09/2020, 12:19 PMLeoColman
09/09/2020, 12:20 PMtestImplementation("io.kotest:kotest-runner-junit5:4.2.3")
LeoColman
09/09/2020, 12:20 PMthol01
09/09/2020, 1:17 PMthol01
09/09/2020, 1:53 PMthol01
09/09/2020, 2:06 PMLeoColman
09/09/2020, 6:28 PMsam
09/09/2020, 6:35 PMsam
09/09/2020, 6:35 PMthol01
09/10/2020, 4:59 AMthol01
09/10/2020, 5:11 AMthol01
09/10/2020, 5:13 AMsam
09/10/2020, 5:24 AMsam
09/10/2020, 5:25 AMthol01
09/10/2020, 5:26 AMthol01
09/10/2020, 5:26 AMsam
09/10/2020, 5:28 AMthol01
09/10/2020, 5:37 AMthol01
09/10/2020, 5:42 AMsam
09/10/2020, 5:43 AMsam
09/10/2020, 5:43 AMthol01
09/10/2020, 5:45 AMthol01
09/10/2020, 5:46 AMthol01
09/10/2020, 6:14 AMthol01
09/10/2020, 6:21 AMtestImplementation('io.kotest:kotest-runner-junit5-jvm:4.2.4') {
exclude module: 'clikt'
}
thol01
09/10/2020, 6:22 AMsam
09/10/2020, 6:25 AMsam
09/10/2020, 6:28 AMthol01
09/10/2020, 6:32 AMsam
09/10/2020, 6:32 AMsam
09/10/2020, 6:32 AMthol01
09/10/2020, 6:33 AMsam
09/10/2020, 6:33 AMthol01
09/10/2020, 6:33 AMsam
09/10/2020, 6:34 AMthol01
09/10/2020, 6:34 AMsam
09/10/2020, 6:41 AMthol01
09/10/2020, 6:48 AMsam
09/10/2020, 6:49 AMsam
09/10/2020, 6:49 AMcom.bisnode.response:responsekt
sam
09/10/2020, 6:51 AMsam
09/10/2020, 6:51 AM4.3.0.664-SNAPSHOT
has been releasedsam
09/10/2020, 6:51 AMthol01
09/10/2020, 6:51 AMsam
09/10/2020, 6:52 AMthol01
09/10/2020, 6:52 AMsam
09/10/2020, 6:52 AMsam
09/10/2020, 6:52 AMsam
09/10/2020, 6:53 AMthol01
09/10/2020, 6:53 AMsam
09/10/2020, 6:53 AMsam
09/10/2020, 6:54 AMthol01
09/10/2020, 6:54 AMsam
09/10/2020, 6:55 AMsam
09/10/2020, 6:55 AMsam
09/10/2020, 6:55 AM./gradlew check
thol01
09/10/2020, 7:00 AMsam
09/10/2020, 7:01 AMsam
09/10/2020, 7:01 AMsam
09/10/2020, 7:01 AM> Task :compileTestKotlin UP-TO-DATE
Errors occurred while build effective model from /home/sam/.gradle/caches/modules-2/files-2.1/com.sun.xml.bind/jaxb-osgi/2.2.10/c926a537af564ec047ec6308df1d0d2a03364a86/jaxb-osgi-2.2.10.pom:
'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar must specify an absolute path but is ${tools.jar} in com.sun.xml.bind:jaxb-osgi:2.2.10
thol01
09/10/2020, 7:02 AMthol01
09/10/2020, 7:03 AMthol01
09/10/2020, 7:04 AMsam
09/10/2020, 7:04 AMsam
09/10/2020, 7:04 AMsam
09/10/2020, 7:04 AMthol01
09/10/2020, 7:06 AMsam
09/10/2020, 7:07 AMsam
09/10/2020, 7:08 AMsam
09/10/2020, 7:08 AMsam
09/10/2020, 7:08 AMthol01
09/10/2020, 7:09 AMthol01
09/10/2020, 7:09 AMsam
09/10/2020, 7:09 AMthol01
09/10/2020, 7:10 AMsam
09/10/2020, 7:10 AMthol01
09/10/2020, 7:10 AMsam
09/10/2020, 7:10 AMsam
09/10/2020, 7:10 AMthol01
09/10/2020, 7:11 AMsam
09/10/2020, 7:12 AMsam
09/10/2020, 7:13 AMsam
09/10/2020, 7:15 AMthol01
09/10/2020, 7:16 AMthol01
09/10/2020, 7:16 AMsam
09/10/2020, 7:17 AMthol01
09/10/2020, 7:19 AMthol01
09/10/2020, 7:20 AMthol01
09/10/2020, 7:21 AMsam
09/10/2020, 7:22 AMsam
09/10/2020, 7:23 AMthol01
09/10/2020, 7:23 AMsam
09/10/2020, 7:24 AMsam
09/10/2020, 7:24 AMthol01
09/10/2020, 7:24 AMsam
09/10/2020, 7:25 AMsam
09/10/2020, 7:25 AMsam
09/10/2020, 7:25 AMtestImplementation 'io.kotest:kotest-runner-junit5-jvm:4.2.4'
thol01
09/10/2020, 7:25 AMthol01
09/10/2020, 7:26 AMtestImplementation 'io.kotest:kotest-runner-junit5-jvm:4.2.4'
Workssam
09/10/2020, 7:26 AMthol01
09/10/2020, 7:26 AMsam
09/10/2020, 7:26 AMsam
09/10/2020, 7:27 AMthol01
09/10/2020, 7:27 AMthol01
09/10/2020, 10:52 AMthol01
09/10/2020, 12:08 PMsam
09/10/2020, 1:37 PMsam
09/10/2020, 2:29 PMthol01
09/11/2020, 7:14 AMthol01
09/11/2020, 7:14 AMthol01
09/11/2020, 7:37 AM