Skip to content

Commit

Permalink
chore: clean up dependencies in toml
Browse files Browse the repository at this point in the history
  • Loading branch information
shouwn committed Sep 18, 2023
1 parent 51636f4 commit f2a266d
Show file tree
Hide file tree
Showing 14 changed files with 93 additions and 174 deletions.
14 changes: 7 additions & 7 deletions benchmark/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
plugins {
alias(libs.plugins.kotlin.benchmark)
alias(libs.plugins.kotlin.allopen)
alias(libs.plugins.kotlin.spring)
alias(libs.plugins.kotlin.jpa)
alias(exampleLibs.plugins.kotlin.benchmark)
alias(exampleLibs.plugins.kotlin.allopen)
alias(exampleLibs.plugins.kotlin.spring)
alias(exampleLibs.plugins.kotlin.jpa)
}

dependencies {
implementation(libs.kotlin.benchmark)
implementation(libs.jakarta.persistence.api)
implementation(libs.logback)
implementation(exampleLibs.kotlin.benchmark)
implementation(exampleLibs.jakarta.persistence.api)
implementation(exampleLibs.logback)
implementation(projects.jpqlDsl)
implementation(projects.jpqlRender)
}
Expand Down
12 changes: 6 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ allprojects {
dependencies {
implementation(rootProject.libs.kotlin)

testImplementation(rootProject.libs.test.junit)
testImplementation(rootProject.libs.test.mockk)
testImplementation(rootProject.libs.test.assertJ)
testImplementation(rootProject.libs.junit)
testImplementation(rootProject.libs.mockk)
testImplementation(rootProject.libs.assertJ)

testFixturesImplementation(rootProject.libs.test.junit)
testFixturesImplementation(rootProject.libs.test.mockk)
testFixturesImplementation(rootProject.libs.test.assertJ)
testFixturesImplementation(rootProject.libs.junit)
testFixturesImplementation(rootProject.libs.mockk)
testFixturesImplementation(rootProject.libs.assertJ)
}

kotlin {
Expand Down
6 changes: 3 additions & 3 deletions example/eclipselink-javax/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ plugins {
}

dependencies {
implementation(exampleLibs.test.eclipselink2)
implementation(exampleLibs.eclipselink2)
implementation(exampleLibs.logback)
implementation(projects.example)
implementation(projects.jpqlDsl)
implementation(projects.jpqlRender)
implementation(projects.eclipselinkJavaxSupport)

runtimeOnly(exampleLibs.test.h2)
runtimeOnly(exampleLibs.h2)

testFixturesImplementation(exampleLibs.test.eclipselink2)
testFixturesImplementation(exampleLibs.eclipselink2)
testFixturesImplementation(projects.jpqlRender)
}

Expand Down
6 changes: 3 additions & 3 deletions example/eclipselink/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ plugins {
}

dependencies {
implementation(exampleLibs.test.eclipselink4)
implementation(exampleLibs.eclipselink4)
implementation(exampleLibs.logback)
implementation(projects.example)
implementation(projects.jpqlDsl)
implementation(projects.jpqlRender)
implementation(projects.eclipselinkSupport)

runtimeOnly(exampleLibs.test.h2)
runtimeOnly(exampleLibs.h2)

testFixturesImplementation(exampleLibs.test.eclipselink4)
testFixturesImplementation(exampleLibs.eclipselink4)
testFixturesImplementation(projects.jpqlRender)
}

Expand Down
6 changes: 3 additions & 3 deletions example/hibernate-javax/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ plugins {
}

dependencies {
implementation(exampleLibs.test.hibernate5.core)
implementation(exampleLibs.hibernate5.core)
implementation(exampleLibs.logback)
implementation(projects.example)
implementation(projects.jpqlDsl)
implementation(projects.jpqlRender)
implementation(projects.hibernateJavaxSupport)

runtimeOnly(exampleLibs.test.h2)
runtimeOnly(exampleLibs.h2)

testFixturesImplementation(exampleLibs.test.hibernate5.core)
testFixturesImplementation(exampleLibs.hibernate5.core)
testFixturesImplementation(projects.jpqlRender)
}

Expand Down
10 changes: 5 additions & 5 deletions example/hibernate-reactive-javax/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ plugins {
}

dependencies {
implementation(exampleLibs.test.hibernate.reactive1.core)
implementation(exampleLibs.test.vertx.jdbc.client)
implementation(exampleLibs.test.agroal.pool)
implementation(exampleLibs.hibernate.reactive1.core)
implementation(exampleLibs.vertx.jdbc.client)
implementation(exampleLibs.agroal.pool)
implementation(exampleLibs.logback)
implementation(projects.example)
implementation(projects.jpqlDsl)
implementation(projects.jpqlRender)
implementation(projects.hibernateReactiveJavaxSupport)

runtimeOnly(exampleLibs.test.h2)
runtimeOnly(exampleLibs.h2)

testFixturesImplementation(exampleLibs.test.hibernate.reactive1.core)
testFixturesImplementation(exampleLibs.hibernate.reactive1.core)
testFixturesImplementation(projects.jpqlRender)
}

Expand Down
10 changes: 5 additions & 5 deletions example/hibernate-reactive/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ plugins {
}

dependencies {
implementation(exampleLibs.test.hibernate.reactive2.core)
implementation(exampleLibs.test.vertx.jdbc.client)
implementation(exampleLibs.test.agroal.pool)
implementation(exampleLibs.hibernate.reactive2.core)
implementation(exampleLibs.vertx.jdbc.client)
implementation(exampleLibs.agroal.pool)
implementation(exampleLibs.logback)
implementation(projects.example)
implementation(projects.jpqlDsl)
implementation(projects.jpqlRender)
implementation(projects.hibernateReactiveSupport)

runtimeOnly(exampleLibs.test.h2)
runtimeOnly(exampleLibs.h2)

testFixturesImplementation(exampleLibs.test.hibernate.reactive2.core)
testFixturesImplementation(exampleLibs.hibernate.reactive2.core)
testFixturesImplementation(projects.jpqlRender)
}

Expand Down
6 changes: 3 additions & 3 deletions example/hibernate/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ plugins {
}

dependencies {
implementation(exampleLibs.test.hibernate6.core)
implementation(exampleLibs.hibernate6.core)
implementation(exampleLibs.logback)
implementation(projects.example)
implementation(projects.jpqlDsl)
implementation(projects.jpqlRender)
implementation(projects.hibernateSupport)

runtimeOnly(exampleLibs.test.h2)
runtimeOnly(exampleLibs.h2)

testFixturesImplementation(exampleLibs.test.hibernate6.core)
testFixturesImplementation(exampleLibs.hibernate6.core)
testFixturesImplementation(projects.jpqlRender)
}

Expand Down
14 changes: 7 additions & 7 deletions example/spring-batch-javax/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
alias(exampleLibs.plugins.test.spring.boot2)
alias(exampleLibs.plugins.spring.boot2)
alias(exampleLibs.plugins.kotlin.noarg)
alias(exampleLibs.plugins.kotlin.allopen)
alias(exampleLibs.plugins.kotlin.spring)
Expand All @@ -8,18 +8,18 @@ plugins {

dependencies {
@Suppress("VulnerableLibrariesLocal", "RedundantSuppression")
implementation(exampleLibs.test.spring.boot2.batch)
implementation(exampleLibs.test.spring.boot2.jpa)
implementation(exampleLibs.test.spring.boot2.p6spy)
implementation(exampleLibs.spring.boot2.batch)
implementation(exampleLibs.spring.boot2.jpa)
implementation(exampleLibs.spring.boot2.p6spy)
implementation(projects.example)
implementation(projects.jpqlDsl)
implementation(projects.jpqlRender)
implementation(projects.springBatchJavaxSupport)

runtimeOnly(exampleLibs.test.h2)
runtimeOnly(exampleLibs.h2)

testImplementation(exampleLibs.test.spring.boot2.test)
testImplementation(exampleLibs.test.spring.batch4.test)
testImplementation(exampleLibs.spring.boot2.test)
testImplementation(exampleLibs.spring.batch4.test)
}

kotlin {
Expand Down
14 changes: 7 additions & 7 deletions example/spring-batch/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
alias(exampleLibs.plugins.test.spring.boot3)
alias(exampleLibs.plugins.spring.boot3)
alias(exampleLibs.plugins.kotlin.noarg)
alias(exampleLibs.plugins.kotlin.allopen)
alias(exampleLibs.plugins.kotlin.spring)
Expand All @@ -8,18 +8,18 @@ plugins {

dependencies {
@Suppress("VulnerableLibrariesLocal", "RedundantSuppression")
implementation(exampleLibs.test.spring.boot3.batch)
implementation(exampleLibs.test.spring.boot3.jpa)
implementation(exampleLibs.test.spring.boot3.p6spy)
implementation(exampleLibs.spring.boot3.batch)
implementation(exampleLibs.spring.boot3.jpa)
implementation(exampleLibs.spring.boot3.p6spy)
implementation(projects.example)
implementation(projects.jpqlDsl)
implementation(projects.jpqlRender)
implementation(projects.springBatchSupport)

runtimeOnly(exampleLibs.test.h2)
runtimeOnly(exampleLibs.h2)

testImplementation(exampleLibs.test.spring.boot3.test)
testImplementation(exampleLibs.test.spring.batch5.test)
testImplementation(exampleLibs.spring.boot3.test)
testImplementation(exampleLibs.spring.batch5.test)
}

kotlin {
Expand Down
10 changes: 5 additions & 5 deletions example/spring-data-jpa-javax/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
alias(exampleLibs.plugins.test.spring.boot2)
alias(exampleLibs.plugins.spring.boot2)
alias(exampleLibs.plugins.kotlin.noarg)
alias(exampleLibs.plugins.kotlin.allopen)
alias(exampleLibs.plugins.kotlin.spring)
Expand All @@ -8,16 +8,16 @@ plugins {

dependencies {
@Suppress("VulnerableLibrariesLocal", "RedundantSuppression")
implementation(exampleLibs.test.spring.boot2.jpa)
implementation(exampleLibs.test.spring.boot2.p6spy)
implementation(exampleLibs.spring.boot2.jpa)
implementation(exampleLibs.spring.boot2.p6spy)
implementation(projects.example)
implementation(projects.jpqlDsl)
implementation(projects.jpqlRender)
implementation(projects.springDataJpaJavaxSupport)

runtimeOnly(exampleLibs.test.h2)
runtimeOnly(exampleLibs.h2)

testImplementation(exampleLibs.test.spring.boot2.test)
testImplementation(exampleLibs.spring.boot2.test)
}

kotlin {
Expand Down
10 changes: 5 additions & 5 deletions example/spring-data-jpa/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
alias(exampleLibs.plugins.test.spring.boot3)
alias(exampleLibs.plugins.spring.boot3)
alias(exampleLibs.plugins.kotlin.noarg)
alias(exampleLibs.plugins.kotlin.allopen)
alias(exampleLibs.plugins.kotlin.spring)
Expand All @@ -8,16 +8,16 @@ plugins {

dependencies {
@Suppress("VulnerableLibrariesLocal", "RedundantSuppression")
implementation(exampleLibs.test.spring.boot3.jpa)
implementation(exampleLibs.test.spring.boot3.p6spy)
implementation(exampleLibs.spring.boot3.jpa)
implementation(exampleLibs.spring.boot3.p6spy)
implementation(projects.example)
implementation(projects.jpqlDsl)
implementation(projects.jpqlRender)
implementation(projects.springDataJpaSupport)

runtimeOnly(exampleLibs.test.h2)
runtimeOnly(exampleLibs.h2)

testImplementation(exampleLibs.test.spring.boot3.test)
testImplementation(exampleLibs.spring.boot3.test)
}

kotlin {
Expand Down
Loading

0 comments on commit f2a266d

Please sign in to comment.