Skip to content

Commit

Permalink
Using version catalog in all other samples now
Browse files Browse the repository at this point in the history
  • Loading branch information
jlengrand committed Sep 20, 2023
1 parent 47e38ce commit 1eb2cc2
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 27 deletions.
14 changes: 6 additions & 8 deletions checkout-example-advanced/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@ repositories {
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect'
implementation 'com.adyen:adyen-java-api-library:21.0.0'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
implementation libs.adyen.java
implementation libs.bundles.spring

testImplementation(libs.bundles.spring.test){
exclude (group: 'org.junit.vintage', module: 'junit-vintage-engine')
}
}

test {
Expand Down
7 changes: 7 additions & 0 deletions checkout-example-advanced/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
rootProject.name = 'adyen-java-spring-online-payments-checkout-advanced'

dependencyResolutionManagement {
versionCatalogs {
libs {
from(files("../gradle/libs.versions.toml"))
}
}
}
8 changes: 8 additions & 0 deletions giftcard-example/settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
rootProject.name = 'adyen-java-spring-online-payments-giftcard'

dependencyResolutionManagement {
versionCatalogs {
libs {
from(files("../gradle/libs.versions.toml"))
}
}
}
12 changes: 5 additions & 7 deletions giving-example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ repositories {
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect'
implementation 'com.adyen:adyen-java-api-library:21.0.0'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
implementation libs.adyen.java
implementation libs.bundles.spring

testImplementation(libs.bundles.spring.test){
exclude (group: 'org.junit.vintage', module: 'junit-vintage-engine')
}
}

Expand Down
7 changes: 7 additions & 0 deletions giving-example/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
rootProject.name = 'giving-example'

dependencyResolutionManagement {
versionCatalogs {
libs {
from(files("../gradle/libs.versions.toml"))
}
}
}
6 changes: 2 additions & 4 deletions paybylink-example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ repositories {
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation 'com.adyen:adyen-java-api-library:21.0.0'

implementation libs.adyen.java
implementation libs.bundles.spring
}

tasks.named('test') {
Expand Down
8 changes: 8 additions & 0 deletions paybylink-example/settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
rootProject.name = 'paybylink-example'

dependencyResolutionManagement {
versionCatalogs {
libs {
from(files("../gradle/libs.versions.toml"))
}
}
}
14 changes: 6 additions & 8 deletions subscription-example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@ repositories {
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect'
implementation 'com.adyen:adyen-java-api-library:21.0.0'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
implementation libs.adyen.java
implementation libs.bundles.spring

testImplementation(libs.bundles.spring.test){
exclude (group: 'org.junit.vintage', module: 'junit-vintage-engine')
}
}

test {
Expand Down
8 changes: 8 additions & 0 deletions subscription-example/settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
rootProject.name = 'adyen-java-spring-online-payments-subscription'

dependencyResolutionManagement {
versionCatalogs {
libs {
from(files("../gradle/libs.versions.toml"))
}
}
}

0 comments on commit 1eb2cc2

Please sign in to comment.