Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion g11n-ws/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 2 additions & 2 deletions g11n-ws/modules/md-data-api-bundleimpl/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright 2019-2023 VMware, Inc.
//Copyright 2019-2025 VMware, Inc.
//SPDX-License-Identifier: EPL-2.0
apply plugin: 'java-library'
apply plugin: 'org.springframework.boot'
Expand Down Expand Up @@ -30,6 +30,6 @@ bootJar {
enabled = false
}
jar {
classifier = ''
archiveClassifier = ''
enabled = true
}
4 changes: 2 additions & 2 deletions g11n-ws/modules/md-data-api-gcsimpl/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright 2019-2024 VMware, Inc.
//Copyright 2019-2025 VMware, Inc.
//SPDX-License-Identifier: EPL-2.0
apply plugin: 'java-library'
apply plugin: 'org.springframework.boot'
Expand Down Expand Up @@ -34,6 +34,6 @@ bootJar {
}

jar {
classifier = ''
archiveClassifier = ''
enabled = true
}
4 changes: 2 additions & 2 deletions g11n-ws/modules/md-data-api-mt/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright 2019-2023 VMware, Inc.
//Copyright 2019-2025 VMware, Inc.
//SPDX-License-Identifier: EPL-2.0
apply plugin: 'java-library'
apply plugin: 'org.springframework.boot'
Expand Down Expand Up @@ -36,6 +36,6 @@ bootJar {
}

jar {
classifier = ''
archiveClassifier = ''
enabled = true
}
4 changes: 2 additions & 2 deletions g11n-ws/modules/md-data-api-pgimpl/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright 2019-2022 VMware, Inc.
//Copyright 2019-2025 VMware, Inc.
//SPDX-License-Identifier: EPL-2.0
apply plugin: 'java-library'
apply plugin: 'org.springframework.boot'
Expand Down Expand Up @@ -38,6 +38,6 @@ bootJar {
enabled = false
}
jar {
classifier = ''
archiveClassifier = ''
enabled = true
}
4 changes: 2 additions & 2 deletions g11n-ws/modules/md-data-api-s3impl/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright 2019-2023 VMware, Inc.
//Copyright 2019-2025 VMware, Inc.
//SPDX-License-Identifier: EPL-2.0
apply plugin: 'java-library'
apply plugin: 'org.springframework.boot'
Expand Down Expand Up @@ -34,6 +34,6 @@ bootJar {
}

jar {
classifier = ''
archiveClassifier = ''
enabled = true
}
4 changes: 2 additions & 2 deletions g11n-ws/modules/md-restful-api-i18n/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright 2019-2023 VMware, Inc.
//Copyright 2019-2025 VMware, Inc.
//SPDX-License-Identifier: EPL-2.0
apply plugin: 'java-library'
apply plugin: 'org.springframework.boot'
Expand Down Expand Up @@ -32,6 +32,6 @@ bootJar {
enabled = false
}
jar {
classifier = ''
archiveClassifier = ''
enabled = true
}
4 changes: 2 additions & 2 deletions g11n-ws/modules/md-restful-l10n-synch/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright 2019-2023 VMware, Inc.
//Copyright 2019-2025 VMware, Inc.
//SPDX-License-Identifier: EPL-2.0
apply plugin: 'java-library'
apply plugin: 'org.springframework.boot'
Expand Down Expand Up @@ -26,6 +26,6 @@ bootJar {
enabled = false
}
jar {
classifier = ''
archiveClassifier = ''
enabled = true
}
4 changes: 2 additions & 2 deletions g11n-ws/modules/md-restful-synch/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright 2019-2023 VMware, Inc.
//Copyright 2019-2025 VMware, Inc.
//SPDX-License-Identifier: EPL-2.0
apply plugin: 'java-library'
apply plugin: 'org.springframework.boot'
Expand Down Expand Up @@ -33,7 +33,7 @@ bootJar {
enabled = false
}
jar {
classifier = ''
archiveClassifier = ''
enabled = true
}

4 changes: 2 additions & 2 deletions g11n-ws/modules/md-service-about/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright 2019-2022 VMware, Inc.
//Copyright 2019-2025 VMware, Inc.
//SPDX-License-Identifier: EPL-2.0
apply plugin: 'java-library'
apply plugin: 'org.springframework.boot'
Expand Down Expand Up @@ -28,7 +28,7 @@ bootJar {
enabled = false
}
jar {
classifier = ''
archiveClassifier = ''
enabled = true
}

4 changes: 2 additions & 2 deletions g11n-ws/modules/md-service-authen/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright 2019-2024 VMware, Inc.
//Copyright 2019-2025 VMware, Inc.
//SPDX-License-Identifier: EPL-2.0
apply plugin: 'java-library'
apply plugin: 'org.springframework.boot'
Expand Down Expand Up @@ -46,7 +46,7 @@ bootJar {
enabled = false
}
jar {
classifier = ''
archiveClassifier = ''
enabled = true
}

6 changes: 3 additions & 3 deletions g11n-ws/modules/md-service-i18n-l2/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright 2019-2023 VMware, Inc.
//Copyright 2019-2025 VMware, Inc.
//SPDX-License-Identifier: EPL-2.0
apply plugin: 'java-library'
apply plugin: 'io.spring.dependency-management'
Expand Down Expand Up @@ -32,9 +32,9 @@ sourceSets {
}

jar {
baseName = 'locale-libs'
archiveBaseName = 'locale-libs'
version = "$branchName"
classifier = "$buildNumber"
archiveClassifier = "$buildNumber"
}

task copyCommonJars(type :Copy, dependsOn: jar) {
Expand Down
4 changes: 2 additions & 2 deletions g11n-ws/modules/md-service-i18n-l3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright 2019-2023 VMware, Inc.
//Copyright 2019-2025 VMware, Inc.
//SPDX-License-Identifier: EPL-2.0
apply plugin: 'java-library'
apply plugin: 'org.springframework.boot'
Expand Down Expand Up @@ -40,7 +40,7 @@ bootJar {
enabled = false
}
jar {
classifier = ''
archiveClassifier = ''
enabled = true
}

6 changes: 3 additions & 3 deletions g11n-ws/tools/tool-trans-fetcher/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright 2019-2023 VMware, Inc.
//Copyright 2019-2025 VMware, Inc.
//SPDX-License-Identifier: EPL-2.0
apply plugin: 'java-library'
description = 'translation fetcher module'
Expand All @@ -21,9 +21,9 @@ dependencies {
}

jar {
baseName = 'translation-fetcher'
archiveBaseName = 'translation-fetcher'
version = "$branchName"
classifier = "$buildNumber"
archiveClassifier = "$buildNumber"
/**
from {
configurations.api.collect { it.isDirectory() ? it : zipTree(it) }
Expand Down
6 changes: 3 additions & 3 deletions g11n-ws/vip-common/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright 2019-2023 VMware, Inc.
//Copyright 2019-2025 VMware, Inc.
//SPDX-License-Identifier: EPL-2.0
apply plugin: 'java'
description = 'common tools module'
Expand All @@ -22,9 +22,9 @@ dependencies {
}

jar {
baseName = 'vip-common'
archiveBaseName = 'vip-common'
version = "$branchName"
classifier = "$buildNumber"
archiveClassifier = "$buildNumber"
}

task copyCommonJars(type :Copy, dependsOn: jar) {
Expand Down
37 changes: 20 additions & 17 deletions g11n-ws/vip-manager-i18n/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright 2019-2024 VMware, Inc.
//Copyright 2019-2025 VMware, Inc.
//SPDX-License-Identifier: EPL-2.0
apply plugin: 'java-library'
apply plugin: 'org.springframework.boot'
Expand All @@ -19,7 +19,7 @@ configurations {
sourceSets {
test {
java.srcDirs = ['src/test/java']
java.outputDir = file('build/classes/test')
java.destinationDirectory = file('build/classes/test')
output.resourcesDir = file('build/classes/test')
resources.srcDirs = ['src/test/resources']
}
Expand Down Expand Up @@ -96,13 +96,13 @@ dependencies {
}


task copyTranslation(type: Copy) {
task copyTranslation(type: Copy, dependsOn: processResources) {
dependsOn project(":tool-trans-fetcher").fetchTranslation
}


task zipTranslation(type: Zip,dependsOn: copyTranslation) {
archiveName='resources.zip'
archiveFileName='resources.zip'
from "$buildDir/resources/main/l10n"
into "l10n"
}
Expand All @@ -127,13 +127,16 @@ task copyLibs(type :Copy, dependsOn: bootJar) {
into "$rootDir/../publish/"
println "The build was output to -> $rootDir/../publish/"
include "**/*.jar","**/*.war"

it.dependsOn 'sourcesJar'
it.dependsOn 'javadocJar'
}


task zipSingletonScripts(type: Zip,dependsOn: bootJar) {
from "$rootDir/scripts/"
destinationDir file("$rootDir/../publish/")
baseName 'singletonScripts'
destinationDirectory = file("$rootDir/../publish/")
archiveBaseName = 'singletonScripts'
}

processResources {
Expand Down Expand Up @@ -161,18 +164,18 @@ bootJar.doFirst {


bootJar {
baseName = "singleton"
archiveBaseName = "singleton"
if(project.hasProperty('productName')){
def productName = project.getProperty('productName')
if(productName == ''){
productName = 'all'
}
baseName = "singleton-$productName"
archiveBaseName = "singleton-$productName"
}else{
baseName = "singleton"
archiveBaseName = "singleton"
}
version = "$branchName"
classifier = "$buildNumber"
archiveClassifier = "$buildNumber"
dependsOn zipTranslation
from "$buildDir/distributions"

Expand All @@ -188,7 +191,7 @@ bootJar.doLast {
}

jar {
classifier = ''
archiveClassifier = ''
enabled = false
}

Expand All @@ -214,7 +217,7 @@ assemble.dependsOn.add zipSingletonScripts
task testFetchedTranslation(type: JavaExec, dependsOn: classes) {
def jarPath = "${project(":vip-manager-i18n").buildDir}/libs/"
args(jarPath)
args("${project(":vip-manager-i18n").jar.archiveName}")
args("${project(":vip-manager-i18n").jar.archiveFileName}")
if (project.hasProperty('productName')) {
args(project.getProperty('productName'))
}
Expand Down Expand Up @@ -247,12 +250,12 @@ if (project.hasProperty('datatype') && (project.getProperty('datatype') == 'pgdb
}
**/
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
archiveClassifier = 'sources'
from sourceSets.main.allJava
}

task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
archiveClassifier = 'javadoc'
from javadoc.destinationDir
}

Expand All @@ -270,9 +273,9 @@ artifacts {

jacocoTestReport {
reports {
xml.enabled true
csv.enabled false
html.enabled false
xml.required = true
csv.required = false
html.required = false
xml.destination file("${buildDir}/reports/jacoco.xml")
}
}
Expand Down
8 changes: 4 additions & 4 deletions g11n-ws/vip-manager-l10n-agent/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright 2019-2024 VMware, Inc.
//Copyright 2019-2025 VMware, Inc.
//SPDX-License-Identifier: EPL-2.0
apply plugin: 'java-library'
apply plugin: 'org.springframework.boot'
Expand Down Expand Up @@ -31,14 +31,14 @@ dependencies {
}

bootJar {
baseName = 'vip-manager-l10n-agent'
archiveBaseName = 'vip-manager-l10n-agent'
version = "$branchName"
classifier = "$buildNumber"
archiveClassifier = "$buildNumber"
loaderImplementation = org.springframework.boot.loader.tools.LoaderImplementation.CLASSIC
}

jar {
classifier = ''
archiveClassifier = ''
enabled = false
}

Expand Down
Loading
Loading