diff --git a/checkout-example-advanced/build.gradle b/checkout-example-advanced/build.gradle index 427e4d3..212a21b 100644 --- a/checkout-example-advanced/build.gradle +++ b/checkout-example-advanced/build.gradle @@ -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' } diff --git a/checkout-example/build.gradle b/checkout-example/build.gradle index 3506b99..58e5f8d 100644 --- a/checkout-example/build.gradle +++ b/checkout-example/build.gradle @@ -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' } diff --git a/giftcard-example/build.gradle b/giftcard-example/build.gradle index 96a459d..212a21b 100644 --- a/giftcard-example/build.gradle +++ b/giftcard-example/build.gradle @@ -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' diff --git a/giving-example/build.gradle b/giving-example/build.gradle index 6fa09eb..079aea3 100644 --- a/giving-example/build.gradle +++ b/giving-example/build.gradle @@ -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' } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index d3aad01..51a4c09 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -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" } @@ -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" } diff --git a/paybylink-example/build.gradle b/paybylink-example/build.gradle index 3467363..ec964e1 100644 --- a/paybylink-example/build.gradle +++ b/paybylink-example/build.gradle @@ -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" } diff --git a/paybylink-example/src/main/js/public/.KEEP b/paybylink-example/src/main/js/public/.KEEP deleted file mode 100644 index e69de29..0000000 diff --git a/paybylink-example/src/main/resources/public/.KEEP b/paybylink-example/src/main/resources/public/.KEEP deleted file mode 100644 index e69de29..0000000 diff --git a/subscription-example/build.gradle b/subscription-example/build.gradle index 96a459d..212a21b 100644 --- a/subscription-example/build.gradle +++ b/subscription-example/build.gradle @@ -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'