Skip to content

Commit

Permalink
BLADE-728 update bnd.gradle to 5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjhy committed Aug 18, 2023
1 parent d0226a5 commit d9f5799
Show file tree
Hide file tree
Showing 18 changed files with 41 additions and 30 deletions.
10 changes: 5 additions & 5 deletions cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import de.undercouch.gradle.tasks.download.Download
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.3.0"
classpath group: "de.undercouch", name: "gradle-download-task", version: "5.1.0"
classpath group: "de.undercouch", name: "gradle-download-task", version: "5.4.0"
}

repositories {
Expand Down Expand Up @@ -110,10 +110,10 @@ dependencies {
api name: "org.objectweb.asm.tree-6.0.0"
api name: "org.objectweb.asm.util-6.0.0"

bladeExtensions group: "com.liferay.blade", name: "com.liferay.blade.extensions.maven.profile", version: "1.0.36-SNAPSHOT"
bladeExtensions group: "com.liferay.blade", name: "com.liferay.project.templates.client.extension", version: "1.0.3-SNAPSHOT"
bladeExtensions group: "com.liferay.blade", name: "com.liferay.project.templates.js.theme", version: "1.0.19-SNAPSHOT"
bladeExtensions group: "com.liferay.blade", name: "com.liferay.project.templates.js.widget", version: "1.0.20-SNAPSHOT"
bladeExtensions group: "com.liferay.blade", name: "com.liferay.blade.extensions.maven.profile", version: "1.0.35-SNAPSHOT"
bladeExtensions group: "com.liferay.blade", name: "com.liferay.project.templates.client.extension", version: "1.0.2-SNAPSHOT"
bladeExtensions group: "com.liferay.blade", name: "com.liferay.project.templates.js.theme", version: "1.0.18-SNAPSHOT"
bladeExtensions group: "com.liferay.blade", name: "com.liferay.project.templates.js.widget", version: "1.0.19-SNAPSHOT"

compileOnly group: "org.osgi", name: "osgi.core", version: "6.0.0"
compileOnly project(":gradle-tooling")
Expand Down
14 changes: 12 additions & 2 deletions extensions/bad-command/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "4.3.0"
classpath group: "de.undercouch", name: "gradle-download-task", version: "3.3.0"
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.3.0"
classpath group: "de.undercouch", name: "gradle-download-task", version: "5.4.0"
}

repositories {
Expand All @@ -24,6 +24,16 @@ dependencies {
compileOnly project(":cli")
}

compileJava{
dependsOn(":cli:unzipPortal")
dependsOn(":cli:unzipManifest")
}

jar{
dependsOn(":cli:unzipPortal")
dependsOn(":cli:unzipManifest")
}

test {
dependsOn jar

Expand Down
4 changes: 2 additions & 2 deletions extensions/maven-profile/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "4.3.0"
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.3.0"
}

repositories {
Expand Down Expand Up @@ -44,4 +44,4 @@ publishing {
}
}

version = "1.0.36-SNAPSHOT"
version = "1.0.35-SNAPSHOT"
2 changes: 1 addition & 1 deletion extensions/project-templates-activator/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "4.3.0"
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.3.0"
}

repositories {
Expand Down
4 changes: 2 additions & 2 deletions extensions/project-templates-client-extension/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "4.3.0"
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.3.0"
}

repositories {
Expand Down Expand Up @@ -59,4 +59,4 @@ test {
}
}

version = "1.0.3-SNAPSHOT"
version = "1.0.2-SNAPSHOT"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "4.3.0"
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.3.0"
}

repositories {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "4.3.0"
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.3.0"
}

repositories {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "4.3.0"
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.3.0"
}

repositories {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "4.3.0"
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.3.0"
}

repositories {
Expand Down
4 changes: 2 additions & 2 deletions extensions/project-templates-js-theme/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "4.3.0"
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.3.0"
}

repositories {
Expand Down Expand Up @@ -59,4 +59,4 @@ test {
}
}

version = "1.0.19-SNAPSHOT"
version = "1.0.18-SNAPSHOT"
4 changes: 2 additions & 2 deletions extensions/project-templates-js-widget/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "4.3.0"
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.3.0"
}

repositories {
Expand Down Expand Up @@ -57,4 +57,4 @@ test {
}
}

version = "1.0.20-SNAPSHOT"
version = "1.0.19-SNAPSHOT"
2 changes: 1 addition & 1 deletion extensions/project-templates-social-bookmark/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "4.3.0"
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.3.0"
}

repositories {
Expand Down
5 changes: 3 additions & 2 deletions extensions/remote-deploy-command/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "4.3.0"
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.3.0"
}

repositories {
Expand All @@ -21,10 +21,11 @@ apply plugin: "maven-publish"

dependencies {
api group: "biz.aQute.bnd", name: "biz.aQute.bndlib", version: "5.3.0"
api group: "com.liferay.blade", name: "com.liferay.blade.cli", version: "latest.integration"

compileOnly group: "com.beust", name: "jcommander", version: "1.72"
compileOnly group: "org.osgi", name: "osgi.core", version: "6.0.0"
compileOnly project(":cli")
compileOnly project(path: ":gradle-tooling")
}

publishing {
Expand Down
2 changes: 1 addition & 1 deletion extensions/sample-command/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "4.3.0"
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.3.0"
classpath group: "de.undercouch", name: "gradle-download-task", version: "3.3.0"
}

Expand Down
2 changes: 1 addition & 1 deletion extensions/sample-profile/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "4.3.0"
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.3.0"
classpath group: "de.undercouch", name: "gradle-download-task", version: "3.3.0"
}

Expand Down
2 changes: 1 addition & 1 deletion extensions/sample-template/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "4.3.0"
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.3.0"
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion extensions/sample-workspace-template/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "4.3.0"
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.3.0"
}

repositories {
Expand Down
6 changes: 3 additions & 3 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ mkdir -p $tmpDir

if [ -z "$repoHost" ]; then
if [ "$nexusOpt" = "-PlocalNexus" ]; then
repoHost="https://localhost:8081"
repoHost="http://localhost:8081"
else
repoHost="https://repository.liferay.com"
repoHost="http://repository.liferay.com"
fi
elif [ "$repoHost" = "https://localhost:8081" ]; then
elif [ "$repoHost" = "http://localhost:8081" ]; then
nexusOpt="-PlocalNexus"
fi

Expand Down

0 comments on commit d9f5799

Please sign in to comment.