Skip to content

Commit

Permalink
Adds plugins to multiproject setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jlengrand committed Sep 22, 2023
1 parent 9d0f51a commit ed58821
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 16 deletions.
5 changes: 3 additions & 2 deletions checkout-example-advanced/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'org.springframework.boot' version '3.0.6'
id 'io.spring.dependency-management' version '1.1.0'
alias(libs.plugins.spring.framework)
alias(libs.plugins.spring.dependency)

id 'java'
}

Expand Down
5 changes: 3 additions & 2 deletions checkout-example/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'org.springframework.boot' version '3.1.0'
id 'io.spring.dependency-management' version '1.1.0'
alias(libs.plugins.spring.framework)
alias(libs.plugins.spring.dependency)

id 'java'
}

Expand Down
7 changes: 4 additions & 3 deletions giftcard-example/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
plugins {
id 'org.springframework.boot' version '3.1.0'
id 'io.spring.dependency-management' version '1.1.0'
id 'java'
alias(libs.plugins.spring.framework)
alias(libs.plugins.spring.dependency)

id 'java'
}

group = 'com.adyen'
Expand Down
5 changes: 3 additions & 2 deletions giving-example/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'org.springframework.boot' version '3.1.0'
id 'io.spring.dependency-management' version '1.1.0'
alias(libs.plugins.spring.framework)
alias(libs.plugins.spring.dependency)

id 'java'
}

Expand Down
10 changes: 8 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[versions]
adyen="21.0.0"
adyenVersion="21.0.0"
springVersion="3.1.0"
springDependendyManagementVersion="1.1.0"

[libraries]
adyen-java = { module = "com.adyen:adyen-java-api-library", version.ref = "adyen" }
adyen-java = { module = "com.adyen:adyen-java-api-library", version.ref = "adyenVersion" }

spring-boot-starter-thymeleaf = { module = "org.springframework.boot:spring-boot-starter-thymeleaf" }
spring-boot-starter-web = { module = "org.springframework.boot:spring-boot-starter-web" }
Expand All @@ -13,3 +15,7 @@ spring-boot-starter-test = { module = "org.springframework.boot:spring-boot-star
[bundles]
spring = ["spring-boot-starter-web", "spring-boot-starter-thymeleaf", "spring-boot-devtools", "thymeleaf-layout-dialect"]
spring-test = ["spring-boot-starter-test"]

[plugins]
spring-framework = { id = "org.springframework.boot", version.ref = "springVersion" }
spring-dependency = { id = "io.spring.dependency-management", version.ref = "springDependendyManagementVersion" }
6 changes: 4 additions & 2 deletions paybylink-example/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
plugins {
alias(libs.plugins.spring.framework)
alias(libs.plugins.spring.dependency)

id 'java'
id 'org.springframework.boot' version '3.1.0'
id 'io.spring.dependency-management' version '1.1.0'

id "com.moowork.node" version "1.3.1"
}

Expand Down
Empty file.
Empty file.
7 changes: 4 additions & 3 deletions subscription-example/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
plugins {
id 'org.springframework.boot' version '3.1.0'
id 'io.spring.dependency-management' version '1.1.0'
id 'java'
alias(libs.plugins.spring.framework)
alias(libs.plugins.spring.dependency)

id 'java'
}

group = 'com.adyen'
Expand Down

0 comments on commit ed58821

Please sign in to comment.