Skip to content

Conversation

@Malax
Copy link
Member

@Malax Malax commented Nov 5, 2025

This replaces the sbt-extras wrapper script with a simpler approach that downloads and verifies the sbt launcher jar directly from Maven Central (or Typesafe Ivy for 0.x versions).

The new implementation:

  • Downloads the correct launcher jar for the sbt version specified in project/build.properties
  • Verifies downloads with SHA-1 checksums
  • Caches the launcher jar to avoid re-downloading on subsequent builds
  • Uses conditional URLs for sbt 0.x (Typesafe Ivy) vs 1.x+ (Maven Central)
  • Configures sbt cache directories (ivy, coursier, boot, global) via SBT_OPTS
  • Removes the need for maintaining sbt-extras and sbt-wrapper scripts

The sbt global directory is now recreated on each build to ensure plugins are always current.

@Malax Malax force-pushed the malax/sbt-launcher-improvements branch 5 times, most recently from 5dff478 to 16d3794 Compare November 6, 2025 13:06
@Malax Malax force-pushed the malax/sbt-launcher-improvements branch from 16d3794 to 022a131 Compare November 6, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant