This is an automated email from the ASF dual-hosted git repository.
diqiu50 pushed a commit to branch branch-1.2
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-1.2 by this push:
new 236b65f2b4 [Cherry-pick to branch-1.2] [#10259] fix(buid): build
project-scoped module support jdk8 (#10260) (#10305)
236b65f2b4 is described below
commit 236b65f2b42ba78bf78f3d7a224e427d091a0324
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Mar 9 17:59:40 2026 +0800
[Cherry-pick to branch-1.2] [#10259] fix(buid): build project-scoped module
support jdk8 (#10260) (#10305)
**Cherry-pick Information:**
- Original commit: 2daa2757d7fa36468a2da4089653f6298132efc4
- Target branch: `branch-1.2`
- Status: ✅ Clean cherry-pick (no conflicts)
Co-authored-by: tian bao <[email protected]>
Co-authored-by: Qi Yu <[email protected]>
---
build.gradle.kts | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/build.gradle.kts b/build.gradle.kts
index 8449cc9986..98a544bc05 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -346,7 +346,11 @@ subprojects {
return true
}
- val isReleaseRun = gradle.startParameter.taskNames.any { it == "release"
|| it == "publish" || it == "publishToMavenLocal" }
+ val isReleaseRun = gradle.startParameter.taskNames.any {
+ it == "release" || it == "publish" || it == "publishToMavenLocal" ||
it.endsWith(":release") || it.endsWith(
+ ":publish"
+ ) || it.endsWith(":publishToMavenLocal")
+ }
if (!isReleaseRun) {
return false
}