Skip to content

Commit

Permalink
extract deps to libs.versions.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
mvysny committed Mar 14, 2024
1 parent b9845ef commit df69581
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ slf4j-simple = { module = "org.slf4j:slf4j-simple", version.ref = "slf4j" }
jetbrains-annotations = "org.jetbrains:annotations:24.1.0"
vaadin8-server = { module = "com.vaadin:vaadin-server", version.ref = "vaadin8" }
vaadin8-client-compiled = { module = "com.vaadin:vaadin-client-compiled", version.ref = "vaadin8" }
vaadin-v14 = { module = "com.vaadin:vaadin", version.ref = "vaadin14" }
vaadin-v14next = { module = "com.vaadin:vaadin", version.ref = "vaadin14_next" }
vaadin-v14core = { module = "com.vaadin:vaadin-core", version.ref = "vaadin14" }
vaadin-v14nextcore = { module = "com.vaadin:vaadin-core", version.ref = "vaadin14_next" }
vaadin-v14-all = { module = "com.vaadin:vaadin", version.ref = "vaadin14" }
vaadin-v14next-all = { module = "com.vaadin:vaadin", version.ref = "vaadin14_next" }
vaadin-v14-core = { module = "com.vaadin:vaadin-core", version.ref = "vaadin14" }
vaadin-v14next-core = { module = "com.vaadin:vaadin-core", version.ref = "vaadin14_next" }
vaadin-v23-all = { module = "com.vaadin:vaadin", version.ref = "vaadin23" }
vaadin-v23next-all = { module = "com.vaadin:vaadin", version.ref = "vaadin23_next" }
vaadin-spring = "com.vaadin:vaadin-spring:12.3.3"
Expand Down
4 changes: 2 additions & 2 deletions karibu-testing-v10-groovy/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ dependencies {
// using the gradle-flow-plugin or direct dependency on vaadin-core. The reason is that the app may wish to use the
// npm mode and exclude all webjars.
// 2. Don't depend on Vaadin 23: it requires Java11+ and Groovy fails for some reason.
compileOnly(libs.vaadin.v14core)
testImplementation(libs.vaadin.v14core)
compileOnly(libs.vaadin.v14.core)
testImplementation(libs.vaadin.v14.core)

api(project(":karibu-testing-v10"))

Expand Down
4 changes: 2 additions & 2 deletions karibu-testing-v10-pro-groovy/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ dependencies {
// npm mode and exclude all webjars.
// depend on vaadin instead of vaadin-core, to bring in Confirm Dialog and Grid Pro.
// 2. Don't depend on Vaadin 23: it requires Java11+ and Groovy fails for some reason.
compileOnly(libs.vaadin.v14)
testImplementation(libs.vaadin.v14)
compileOnly(libs.vaadin.v14.all)
testImplementation(libs.vaadin.v14.all)

testImplementation(libs.junit.jupiter.runtime)
testImplementation(libs.slf4j.simple)
Expand Down
4 changes: 2 additions & 2 deletions karibu-testing-v10/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ dependencies {
// npm mode and exclude all webjars.
// - depend on "vaadin" instead of just "vaadin-core", to bring in Grid Pro.
// - depend on the lowest Vaadin (Vaadin 14 LTS)
compileOnly(libs.vaadin.v14)
testImplementation(libs.vaadin.v14)
compileOnly(libs.vaadin.v14.all)
testImplementation(libs.vaadin.v14.all)

api(libs.fake.servlet)
api(libs.karibu.tools)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
testImplementation(libs.vaadin.v14next)
testImplementation(libs.vaadin.v14next.all)
testImplementation(project(":karibu-testing-v10:kt10-tests")) {
exclude(group = "com.vaadin")
exclude(group = "com.github.appreciated")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
testImplementation(libs.vaadin.v14next)
testImplementation(libs.vaadin.v14next.all)
testImplementation(project(":karibu-testing-v10:kt10-tests")) {
exclude(group = "com.vaadin")
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
testImplementation(libs.vaadin.v14)
testImplementation(libs.vaadin.v14.all)
testImplementation(project(":karibu-testing-v10:kt10-tests")) {
exclude(group = "com.vaadin")
exclude(group = "com.github.appreciated")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
testImplementation(libs.vaadin.v14)
testImplementation(libs.vaadin.v14.all)
testImplementation(project(":karibu-testing-v10:kt10-tests")) {
exclude(group = "com.vaadin")
}
Expand Down
2 changes: 1 addition & 1 deletion karibu-testing-v10/kt10-tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies {
api(libs.dynatest)
api(libs.slf4j.simple)
api(libs.karibu.dsl)
api(libs.vaadin.v14)
api(libs.vaadin.v14.all)

api(libs.spring.boot.starter.test) {
exclude(group = "ch.qos.logback")
Expand Down

0 comments on commit df69581

Please sign in to comment.