Skip to content

Commit

Permalink
Merge branch '9.1-jdk21' into 9.1-jdk17
Browse files Browse the repository at this point in the history
# Conflicts:
#	examples/application-with-preinstalled-nodejs-distribution/build.gradle.kts
#	examples/application-with-preinstalled-nodejs-distribution/settings.gradle.kts
#	examples/fullstack-war-application/frontend/build.gradle.kts
#	examples/fullstack-war-application/settings.gradle.kts
#	examples/multiple-package-managers-with-shared-nodejs-distribution/node-subproject/build.gradle.kts
#	examples/multiple-package-managers-with-shared-nodejs-distribution/npm-10-subproject/build.gradle.kts
#	examples/multiple-package-managers-with-shared-nodejs-distribution/npm-6-subproject/build.gradle.kts
#	examples/multiple-package-managers-with-shared-nodejs-distribution/pnpm-6-subproject/build.gradle.kts
#	examples/multiple-package-managers-with-shared-nodejs-distribution/pnpm-9-subproject/build.gradle.kts
#	examples/multiple-package-managers-with-shared-nodejs-distribution/settings.gradle.kts
#	examples/multiple-package-managers-with-shared-nodejs-distribution/yarn-1-subproject/build.gradle.kts
#	examples/npm-application/build.gradle.kts
#	examples/npm-application/settings.gradle.kts
#	examples/pnpm-application/build.gradle.kts
#	examples/pnpm-application/settings.gradle.kts
#	examples/yarn-application-with-node-modules-linker/build.gradle.kts
#	examples/yarn-application-with-node-modules-linker/settings.gradle.kts
#	examples/yarn-application-with-pnp-linker/build.gradle.kts
#	examples/yarn-application-with-pnp-linker/settings.gradle.kts
  • Loading branch information
v1nc3n4 committed Nov 12, 2024
2 parents d89a31c + 92b075d commit 2f031ed
Show file tree
Hide file tree
Showing 64 changed files with 197 additions and 211 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.siouan.frontendgradleplugin.infrastructure.gradle.RunNodeTaskType
import org.siouan.frontendgradleplugin.infrastructure.gradle.RunNpmTaskType

plugins {
id("org.siouan.frontend-jdk17")
id("org.siouan.frontend-jdk17") version "9.1.0"
}

//val preinstalledNodeDistributionDirectory = file(<path-to-nodejs-install-directory>);
Expand All @@ -18,10 +18,10 @@ frontend {

tasks.register<RunNodeTaskType>("nodeVersion") {
dependsOn("installNode")
script.set("-v")
args.set("-v")
}

tasks.register<RunNpmTaskType>("npmVersion") {
dependsOn("installPackageManager")
script.set("-v")
args.set("-v")
}

This file was deleted.

4 changes: 2 additions & 2 deletions examples/fullstack-war-application/backend/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
id("java")
id("war")
id("org.springframework.boot")
id("io.spring.dependency-management")
id("org.springframework.boot") version "3.3.5"
id("io.spring.dependency-management") version "1.1.6"
}

version = "1.0.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("org.siouan.frontend-jdk17")
id("org.siouan.frontend-jdk17") version "9.1.0"
}

frontend {
Expand Down
10 changes: 0 additions & 10 deletions examples/fullstack-war-application/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1 @@
pluginManagement {
plugins {
id("java")
id("war")
id("org.springframework.boot") version "3.3.4"
id("io.spring.dependency-management") version "1.1.6"
id("org.siouan.frontend-jdk17") version "9.1.0"
}
}

include("backend", "frontend")
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
org.gradle.caching=false
org.gradle.parallel=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[versions]
frontend-version = "9.1.0"

[plugins]
frontend = { id ="org.siouan.frontend-jdk17", version.ref = "frontend-version" }
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.siouan.frontendgradleplugin.infrastructure.gradle.RunNodeTaskType

plugins {
id("org.siouan.frontend-jdk17")
alias(libs.plugins.frontend)
}

frontend {
Expand All @@ -11,7 +11,7 @@ frontend {

tasks.register<RunNodeTaskType>("nodeVersion") {
dependsOn("installNode")
script.set("--version")
args.set("--version")
}

tasks.named<Task>("build") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.siouan.frontendgradleplugin.infrastructure.gradle.ResolvePackageManag
import org.siouan.frontendgradleplugin.infrastructure.gradle.RunNpmTaskType

plugins {
id("org.siouan.frontend-jdk17")
alias(libs.plugins.frontend)
}

frontend {
Expand All @@ -16,7 +16,7 @@ tasks.named<ResolvePackageManagerTask>("resolvePackageManager") {

tasks.register<RunNpmTaskType>("npm9Version") {
dependsOn("installPackageManager")
script.set("--version")
args.set("--version")
}

tasks.named<Task>("build") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.siouan.frontendgradleplugin.infrastructure.gradle.ResolvePackageManag
import org.siouan.frontendgradleplugin.infrastructure.gradle.RunNpmTaskType

plugins {
id("org.siouan.frontend-jdk17")
alias(libs.plugins.frontend)
}

frontend {
Expand All @@ -16,7 +16,7 @@ tasks.named<ResolvePackageManagerTask>("resolvePackageManager") {

tasks.register<RunNpmTaskType>("npm6Version") {
dependsOn("installPackageManager")
script.set("--version")
args.set("--version")
}

tasks.named<Task>("build") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.siouan.frontendgradleplugin.infrastructure.gradle.ResolvePackageManag
import org.siouan.frontendgradleplugin.infrastructure.gradle.RunPnpmTaskType

plugins {
id("org.siouan.frontend-jdk17")
alias(libs.plugins.frontend)
}

frontend {
Expand All @@ -16,7 +16,7 @@ tasks.named<ResolvePackageManagerTask>("resolvePackageManager") {

tasks.register<RunPnpmTaskType>("pnpm6Version") {
dependsOn("installPackageManager")
script.set("--version")
args.set("--version")
}

tasks.named<Task>("build") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.siouan.frontendgradleplugin.infrastructure.gradle.ResolvePackageManag
import org.siouan.frontendgradleplugin.infrastructure.gradle.RunPnpmTaskType

plugins {
id("org.siouan.frontend-jdk17")
alias(libs.plugins.frontend)
}

frontend {
Expand All @@ -16,7 +16,7 @@ tasks.named<ResolvePackageManagerTask>("resolvePackageManager") {

tasks.register<RunPnpmTaskType>("pnpm8Version") {
dependsOn("installPackageManager")
script.set("--version")
args.set("--version")
}

tasks.named<Task>("build") {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"private": true,
"packageManager": "[email protected].2"
"packageManager": "[email protected].3"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
pluginManagement {
plugins {
id("org.siouan.frontend-jdk17") version "9.1.0"
}
}

include("node-subproject", "npm-6-subproject", "npm-10-subproject", "pnpm-6-subproject", "pnpm-9-subproject", "yarn-1-subproject", "yarn-4-subproject")
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.siouan.frontendgradleplugin.infrastructure.gradle.ResolvePackageManag
import org.siouan.frontendgradleplugin.infrastructure.gradle.RunYarnTaskType

plugins {
id("org.siouan.frontend-jdk17")
alias(libs.plugins.frontend)
}

frontend {
Expand All @@ -16,7 +16,7 @@ tasks.named<ResolvePackageManagerTask>("resolvePackageManager") {

tasks.register<RunYarnTaskType>("yarn1Version") {
dependsOn("installPackageManager")
script.set("--version")
args.set("--version")
}

tasks.named<Task>("build") {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"private": true,
"packageManager": "[email protected].19"
"packageManager": "[email protected].22"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.siouan.frontendgradleplugin.infrastructure.gradle.RunYarnTaskType

plugins {
id("org.siouan.frontend-jdk17")
alias(libs.plugins.frontend)
}

frontend {
Expand All @@ -15,7 +15,7 @@ tasks.named<Task>("resolvePackageManager") {

tasks.register<RunYarnTaskType>("yarn3Version") {
dependsOn("installPackageManager")
script.set("--version")
args.set("--version")
}

tasks.named<Task>("build") {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"private": true,
"packageManager": "[email protected].0"
"packageManager": "[email protected].1"
}
2 changes: 1 addition & 1 deletion examples/npm-application/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import kotlin.io.path.Path
import org.siouan.frontendgradleplugin.infrastructure.gradle.InstallFrontendTask

plugins {
id("org.siouan.frontend-jdk17")
id("org.siouan.frontend-jdk17") version "9.1.0"
}

frontend {
Expand Down
5 changes: 0 additions & 5 deletions examples/npm-application/settings.gradle.kts

This file was deleted.

2 changes: 1 addition & 1 deletion examples/pnpm-application/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import kotlin.io.path.Path
import org.siouan.frontendgradleplugin.infrastructure.gradle.InstallFrontendTask

plugins {
id("org.siouan.frontend-jdk17")
id("org.siouan.frontend-jdk17") version "9.1.0"
}

frontend {
Expand Down
2 changes: 1 addition & 1 deletion examples/pnpm-application/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"packageManager": "[email protected].2",
"packageManager": "[email protected].3",
"scripts": {
"build": "echo Building frontend",
"check": "echo Checking frontend && pnpm run lint && pnpm run test",
Expand Down
5 changes: 0 additions & 5 deletions examples/pnpm-application/settings.gradle.kts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import kotlin.io.path.Path
import org.siouan.frontendgradleplugin.infrastructure.gradle.InstallFrontendTask

plugins {
id("org.siouan.frontend-jdk17")
id("org.siouan.frontend-jdk17") version "9.1.0"
}

frontend {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"packageManager": "[email protected].0",
"packageManager": "[email protected].1",
"scripts": {
"build": "echo Building frontend",
"check": "echo Checking frontend && yarn run lint && yarn run test",
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion examples/yarn-application-with-pnp-linker/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import kotlin.io.path.Path
import org.siouan.frontendgradleplugin.infrastructure.gradle.InstallFrontendTask

plugins {
id("org.siouan.frontend-jdk17")
id("org.siouan.frontend-jdk17") version "9.1.0"
}

frontend {
Expand Down
2 changes: 1 addition & 1 deletion examples/yarn-application-with-pnp-linker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"packageManager": "[email protected].0",
"packageManager": "[email protected].1",
"scripts": {
"build": "echo Building frontend",
"check": "echo Checking frontend && yarn run lint && yarn run test",
Expand Down
5 changes: 0 additions & 5 deletions examples/yarn-application-with-pnp-linker/settings.gradle.kts

This file was deleted.

33 changes: 33 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[versions]
assertj-version = "3.26.3"
commons-compress-version = "1.27.1"
gradle-plugin-publish-version = "1.3.0"
httpclient5-version = "5.4.1"
jacoco-version = "0.8.12"
json-version = "20240303"
junit-jupiter-version = "5.11.3"
junit-pioneer-version = "2.3.0"
lombok-version = "1.18.34"
mockito-version = "5.14.2"
resilience4j-retry-version = "2.2.0"
sonarqube-version = "5.1.0.4882"
wiremock-version = "3.9.2"

[libraries]
assertj-core = { group = "org.assertj", name = "assertj-core", version.ref = "assertj-version" }
commons-compress = { group = "org.apache.commons", name = "commons-compress", version.ref = "commons-compress-version" }
httpclient5 = { group = "org.apache.httpcomponents.client5", name = "httpclient5", version.ref = "httpclient5-version" }
json = { group = "org.json", name = "json", version.ref = "json-version" }
junit-jupiter-api = { group = "org.junit.jupiter", name = "junit-jupiter-api", version.ref = "junit-jupiter-version" }
junit-jupiter-engine = { group = "org.junit.jupiter", name = "junit-jupiter-engine", version.ref = "junit-jupiter-version" }
junit-jupiter-params = { group = "org.junit.jupiter", name = "junit-jupiter-params", version.ref = "junit-jupiter-version" }
junit-pioneer = { group = "org.junit-pioneer", name = "junit-pioneer", version.ref = "junit-pioneer-version" }
lombok = { group = "org.projectlombok", name = "lombok", version.ref = "lombok-version" }
mockito-core = { group = "org.mockito", name = "mockito-core", version.ref = "mockito-version" }
mockito-junit-jupiter = { group = "org.mockito", name = "mockito-junit-jupiter", version.ref = "mockito-version" }
resilience4j-retry = { group = "io.github.resilience4j", name = "resilience4j-retry", version.ref = "resilience4j-retry-version" }
wiremock = { group = "org.wiremock", name = "wiremock", version.ref = "wiremock-version" }

[plugins]
gradle-plugin-publish = { id = "com.gradle.plugin-publish", version.ref = "gradle-plugin-publish-version" }
sonarqube = { id ="org.sonarqube", version.ref = "sonarqube-version" }
Loading

0 comments on commit 2f031ed

Please sign in to comment.