Skip to content

Bump com.barrybecker4.bb4.settings from 3.0-SNAPSHOT to 3.0 - #50

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/gradle/com.barrybecker4.bb4.settings-3.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/gradle/com.barrybecker4.bb4.settings-3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor

Bumps com.barrybecker4.bb4.settings from 3.0-SNAPSHOT to 3.0.

Changelog

Sourced from com.barrybecker4.bb4.settings's changelog.

[3.0] - 2026-11-16

Added

  • Shared Scala flags and test logging (#43): bb4.scala-library now sets -deprecation, -feature, and -Wunused:imports on all ScalaCompile tasks (-Werror remains opt-in). Test tasks keep JUnit Platform engines scalatest + junit-jupiter (no Vintage), enable assertions, and use quiet failure-only logging with full stack traces (matching the former bb4-games pattern).
  • bb4.release (#43): optional bb4 { release = 21 } sets JavaCompile --release and Scala -release: while keeping the Java 25 toolchain.
  • bb4.quality (#43): opt-in Spotless + Scalafmt (com.barrybecker4.bb4.quality) for scala-source / scala-test. Uses the project's .scalafmt.conf when present, otherwise a packaged minimal Scala 3 config.
  • Org reusable CI (#43): shared workflow bb4-ci.yml and downstream-dispatch.json in bb4/.github. This repo’s CI now calls that workflow (build test + SNAPSHOT publish).
  • One-task Central publishing (#39): ./gradlew publishArtifacts uploads a signed deployment bundle via the Central Publisher API for releases (AUTOMATIC by default; override with bb4.central.publishingType=USER_MANAGED). Snapshots still deploy to maven-snapshots. Promote curl / OSSRH Staging API release deploy removed.
  • POM from project props: publications use project.group, project.description, and bb4.repository (GitHub repo under barrybecker4) for URL/SCM instead of hardcoded values.
  • CycloneDX SBOM: every Maven publication gets a cyclonedx JSON sidecar.
  • In-memory GPG: signingKey / signingPassword (optional signingKeyId), including ORG_GRADLE_PROJECT_* env, for CI without a secring path.
  • Platform (#37): com.barrybecker4:bb4-platform (BOM) and com.barrybecker4:bb4-catalog (version catalog) from the :platform subproject. Per-library version lines live in https://github.com/bb4/bb4-gradle/blob/main/gradle/libs.versions.toml; the plugin version key bb4-gradle is rewritten from this project's version at publish.
  • com.barrybecker4.bb4.settings: Settings plugin that enforces Gradle 9.1+, applies Foojay 1.0.0, adds the Central snapshots repository, installs the bb4Libs catalog, and includeBuilds sibling bb4-* checkouts (disable with -Pbb4.includeSiblings=false).
  • Single 3.0 floor: Gradle 9.1+, Java 25, wrapper 9.9.1.
  • bb4.application: Opt-in native installers via bb4.jpackage { enabled = true … }. Registers jpackage<AppId> and jpackageAllApps from ext.appMap (skipping deploy: false), syncs jarMap jars into installDist lib/, and renames artifacts to bb4-<appId>-<version>.{dmg,msi,deb}. Configure packageIdentifierPrefix, mainJarKey, defaultMainClass, javaOptions, arguments, optional consoleDesktopTemplate, and optional jpackageExecutable (for tests). App-specific launch args stay in the consuming project.

Changed

  • Removed jarMap (#42): Multi-artifact jarMap / ext.jarMap publishing is gone. Jpackage always uses the project jar as --main-jar (bb4.publish not required; mainJarKey removed). Library-vs-app guidance: leaf app repos should not apply bb4.publish. Library repos keep single-artifact bb4.publish.
  • Domain deps out of scala-library (#40): bb4.scala-library no longer adds java3d:vecmath, ScalaTest HTML reporter deps (scala-xml / flexmark / pegdown), or the idea / eclipse / project-report plugins. Declare implementation/api bb4Libs.vecmath when needed. Opt into HTML reporter runtime deps with bb4.htmlReports { enabled = true } (adds scala-xml + flexmark-all only; pegdown removed from the catalog/BOM). Gson 2.15.0 is a bb4-platform / bb4Libs.gson constraint; consumers can implementation platform(bb4Libs.bb4.platform) and drop local Gson pins. Deleted leftover Groovy plugin sources under src/main/groovy (Kotlin-only since #44).
  • Fold app build logic into plugins (#38): bb4.apps is the typed multi-app model (apps.put / register). bb4.application generates run*, create*App (CreateStartScripts), wires them into installDist, and depends on jarMap jars when present. Prefer apps over bb4.appMap / ext.appMap (still fallbacks). deploySchemas copies only from bb4.schemaDirectory (default source/schema). clean deletes dist/ via DirectoryProperty. Removed copyToLib — use installDist. Org reusable workflow: bb4/.github/.github/workflows/jpackage-release.yml.
  • Kotlin rewrite (#44): Convention plugin implementation is Kotlin (Groovy remains for Spock/TestKit tests only). bb4 {} is created by bb4.base so Java-only base + publish projects get a typed place for archivesBaseName, mainClass, and repository. jarMap is a typed container that still accepts Groovy jarMap.put('key', [include: …]). Prefer bb4.repository and bb4.appMap on the extension; legacy bb4.repository / ext.appMap / ext.jarMap keep working.
  • Published Maven POM metadata: Updated project URL and SCM URLs to point to the new bb4 GitHub organization (https://github.com/bb4/) instead of the legacy barrybecker4 user account. Maven groupId, plugin IDs, package names, and developer identities remain unchanged.

Fixed

  • Java 24+ Unsafe warnings during Scala compile: bb4.scala-library adds --sun-misc-unsafe-memory-access=allow to ScalaCompile fork JVM args so Zinc’s OpenHFT zero-allocation-hashing dependency no longer prints terminal-deprecation warnings on the forked compiler worker.
  • bb4.application run tasks: run<App> and create<App>App now use bb4.jpackage.defaultMainClass when an app entry has no mainClass, then fall back to bb4.mainClass. Panel apps were launching the project main (for example Dice) and ignoring -panel_class.
  • Source/resource overlap (#41): bb4.scala-library excludes **/*.java and **/*.scala from main/test resources while still packaging co-located assets like package.png. Main jar and jarMap output jars no longer set DuplicatesStrategy.EXCLUDE for that bug. sourcesJar still uses EXCLUDE because allSource unions overlapping source/resource roots and would otherwise duplicate co-located assets.
  • bb4.publish jarMap / mavenJava: Do not create the single-jar mavenJava publication until afterEvaluate, and only when jarMap is empty. Eager create + later remove left orphaned publishMavenJavaPublicationTo* tasks with an empty groupId (group is typically set after plugins {}), which failed puzzles/simulations CI with Invalid publication 'mavenJava': groupId cannot be empty. Remaining jarMap publications still get a non-empty groupId from the final project group.
  • bb4Libs plugin aliases: bb4.settings loads the packaged catalog via from(toml) so id-only plugin aliases stay versionless. The previous applyTo path re-attached the bb4-gradle version, which conflicted with plugins already on the classpath from bb4.settings and broke CI (already on the classpath with an unknown version).
  • bb4.application: Removed unsafe classpath wildcard manipulation from generated start scripts. The previous implementation replaced Gradle's properly quoted explicit classpath with CLASSPATH=$(echo $APP_HOME/lib/*.jar | tr ' ' ':'), which broke when installation paths or JAR names contained spaces and picked up unintended JARs from lib/. Now uses Gradle's default explicit classpath generation that works correctly with spaces and only includes declared runtime dependencies (#16).

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.barrybecker4.bb4.settings](https://github.com/bb4/bb4-gradle) from 3.0-SNAPSHOT to 3.0.
- [Changelog](https://github.com/bb4/bb4-gradle/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bb4/bb4-gradle/commits)

---
updated-dependencies:
- dependency-name: com.barrybecker4.bb4.settings
  dependency-version: '3.0'
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants