Skip to content

Commit

Permalink
Add micronaut-platform for test-suites (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
timyates authored Sep 11, 2023
1 parent ef4620c commit fdd0440
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,7 @@ plugins {

configurations.all {
resolutionStrategy {
eachDependency {
if (requested.group == "io.micronaut.platform" && requested.name == "micronaut-platform") {
useVersion("4.0.0-M1")
because("There's no M2 platform yet")
}
}
dependencySubstitution {
substitute(module("io.micronaut.crac:micronaut-crac")).using(project(":micronaut-crac")).because("we work with the unreleased development version")
}
preferProjectModules()
}
}

Expand Down
6 changes: 4 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[versions]
micronaut = "4.0.3"
micronaut = "4.0.6"

micronaut-cache = "4.0.2"
micronaut-data = "4.0.4"
micronaut-docs = "2.0.0"
micronaut-redis = "6.0.1"
micronaut-platform = "4.0.6"
micronaut-redis = "6.0.2"
micronaut-serialization = "2.0.1"
micronaut-sql = "5.0.1"
micronaut-test = "4.0.1"
Expand All @@ -22,6 +23,7 @@ micronaut-core = { module = 'io.micronaut:micronaut-core-bom', version.ref = 'mi

micronaut-cache = { module = "io.micronaut.cache:micronaut-cache-bom", version.ref = "micronaut-cache" }
micronaut-data = { module = "io.micronaut.data:micronaut-data-bom", version.ref = "micronaut-data" }
micronaut-platform = { module = 'io.micronaut.platform:micronaut-platform', version.ref = 'micronaut-platform' }
micronaut-redis = { module = "io.micronaut.redis:micronaut-redis-bom", version.ref = "micronaut-redis" }
micronaut-serde = { module = "io.micronaut.serde:micronaut-serde-bom", version.ref = "micronaut-serialization" }
micronaut-sql = { module = "io.micronaut.sql:micronaut-sql-bom", version.ref = "micronaut-sql" }
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pluginManagement {
}

plugins {
id 'io.micronaut.build.shared.settings' version '6.5.5'
id 'io.micronaut.build.shared.settings' version '6.5.6'
}

enableFeaturePreview('TYPESAFE_PROJECT_ACCESSORS')
Expand Down
4 changes: 4 additions & 0 deletions test-suite-dbcp-jooq/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ dependencies {

testRuntimeOnly(mnSql.h2)
}

micronaut {
version.set(libs.versions.micronaut.platform.get())
}
4 changes: 4 additions & 0 deletions test-suite-hikari-jooq/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ dependencies {

testRuntimeOnly(mnSql.h2)
}

micronaut {
version.set(libs.versions.micronaut.platform.get())
}
2 changes: 1 addition & 1 deletion test-suite-redis/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies {
}

micronaut {
version.set(libs.versions.micronaut.asProvider())
version.set(libs.versions.micronaut.platform.get())
testResources {
additionalModules.set(listOf("redis"))
}
Expand Down

0 comments on commit fdd0440

Please sign in to comment.