-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependencies and improve build tool testing infrastructure, add JDK 21 #692
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
fb9b18c
WIP
keynmol 49a2d60
Update tests, switch to Scala 3.3 LTS
keynmol 5977aa6
Refactor build tool tests to support running under any JDK
keynmol 418a4f5
Drop down on Scala 2.12 and 2.13 because of sbt-sourcegraph entanglement
keynmol 66c2304
Fix Maven and legacy Gradle tests (with filtering)
keynmol 7754662
Fix Mill tests
keynmol 85e7540
scalafix
keynmol bd38a50
update to stable moped release
keynmol 8db07af
Handle Gradle 3 (just barely)
keynmol 25e9d4b
Support Gradle 2
keynmol 8610089
scalafmt
keynmol 1dd0a5b
Remove unused build settings
keynmol File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,20 +12,20 @@ lazy val V = | |
val protobuf = "3.15.6" | ||
val protoc = | ||
"3.17.3" // the oldest protoc version with Apple M1 support, see https://github.com/scalapb/ScalaPB/issues/1024#issuecomment-860126568 | ||
val coursier = "2.1.5" | ||
val coursier = "2.1.9" | ||
val scalaXml = "2.1.0" | ||
val bsp = "2.0.0-M13" | ||
val moped = "0.1.11" | ||
val moped = "0.2.0" | ||
val gradle = "7.0" | ||
val scala213 = "2.13.10" | ||
val scala212 = "2.12.17" | ||
val scala213 = "2.13.13" | ||
val scala212 = "2.12.19" | ||
val scala211 = "2.11.12" | ||
val scala3 = "3.2.2" | ||
val metals = "0.11.11" | ||
val scalameta = "4.8.1" | ||
val scala3 = "3.3.3" | ||
val metals = "1.2.2" | ||
val scalameta = "4.9.3" | ||
val semanticdbKotlinc = "0.4.0" | ||
val testcontainers = "0.39.3" | ||
val requests = "0.6.5" | ||
val requests = "0.8.0" | ||
val minimalMillVersion = "0.10.0" | ||
val millScipVersion = "0.3.6" | ||
val kotlinVersion = "1.9.22" | ||
|
@@ -35,8 +35,6 @@ inThisBuild( | |
List( | ||
scalaVersion := V.scala213, | ||
crossScalaVersions := List(V.scala213), | ||
scalafixDependencies += | ||
"com.github.liancheng" %% "organize-imports" % "0.6.0", | ||
scalafixCaching := true, | ||
scalacOptions ++= List("-Wunused:imports"), | ||
semanticdbEnabled := true, | ||
|
@@ -406,6 +404,17 @@ lazy val minimized17 = project | |
.dependsOn(agent, javacPlugin) | ||
.disablePlugins(JavaFormatterPlugin) | ||
|
||
lazy val minimized21 = project | ||
.in(file("tests/minimized/.j21")) | ||
.settings( | ||
javaOnlySettings, | ||
minimizedSettings, | ||
javaToolchainVersion := "21", | ||
javacOptions ++= javacModuleOptions | ||
) | ||
.dependsOn(agent, javacPlugin) | ||
.disablePlugins(JavaFormatterPlugin) | ||
Comment on lines
+407
to
+416
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Make sure our test java sources are compiled under java 21 as well |
||
|
||
lazy val minimizedScala = project | ||
.in(file("tests/minimized-scala")) | ||
.settings( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=1.9.7 | ||
sbt.version=1.9.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add JDK 21 to the build matrix - that's what triggered the rest of the changes.