Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: version to 4.0.0 Micronaut 4.0.0-SNAPSHOT githubCoreBranch=4.0.x #422

Merged
merged 10 commits into from
Sep 13, 2022
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ plugins {
id "org.jetbrains.kotlin.jvm" version "$kotlinVersion" apply false
}

repositories {
mavenCentral()
maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots/" }
}

tasks.named("dokkaHtmlMultiModule") {
outputDirectory.set(rootProject.layout.buildDirectory.dir("docs/api").map(d -> d.asFile))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ plugins {
id("org.jetbrains.dokka")
id("org.jetbrains.kotlin.kapt")
}

repositories {
mavenCentral()
maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots/" }
}
1 change: 1 addition & 0 deletions examples/greeting/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ plugins {

repositories {
mavenCentral()
maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots/" }
}

mainClassName = 'app.ApplicationKt'
Expand Down
16 changes: 8 additions & 8 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m

projectVersion=3.3.0-SNAPSHOT
projectVersion=4.0.0-SNAPSHOT
projectGroup=io.micronaut.kotlin

micronautDocsVersion=2.0.0
micronautVersion=3.3.4
micronautTestVersion=3.1.1
micronautVersion=4.0.0-SNAPSHOT
micronautTestVersion=3.4.0
wetted marked this conversation as resolved.
Show resolved Hide resolved

groovyVersion=3.0.10
spockVersion=2.0-groovy-3.0
groovyVersion=3.0.12
spockVersion=2.1-groovy-3.0

kotlinVersion=1.6.10
kotlinVersion=1.7.10
#ktorVersion=2.0.3
ktorVersion=1.6.8
dokka_version=1.6.10
junitVersion=5.9.0

title=Micronaut Kotlin Integrations
Expand All @@ -21,5 +21,5 @@ projectUrl=https://micronaut.io
githubSlug=micronaut-projects/micronaut-kotlin
developers=Graeme Rocher

githubCoreBranch=3.7.x
githubCoreBranch=4.0.x
bomProperty=micronautKotlinVersion
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ class KotlinModuleFactory {
@Requires(property = "jackson.module-scan", value = "false")
@Singleton
fun kotlinModuleFactory() : KotlinModule {
return KotlinModule()
return KotlinModule.Builder().build()
}
}
2 changes: 1 addition & 1 deletion ktor/src/test/kotlin/app/AppTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ class AppTest {
client.toBlocking().retrieve("/authenticated")
}

assertEquals("Unauthorized", exception.message)
assertEquals("Client '/': Unauthorized", exception.message)
}
}
7 changes: 7 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@ include "kotlin-runtime"
include "ktor"
include "kotlin-extension-functions"
include "examples:greeting"

dependencyResolutionManagement {
repositories {
mavenCentral()
maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots/" }
}
}