From cd83f0c14c2974e8065785cce5845aabd84da707 Mon Sep 17 00:00:00 2001 From: Gautham Nair Date: Tue, 14 Nov 2023 18:19:32 -0500 Subject: [PATCH] Upgrade to pants 2.18.0 and M1-compatible jdk (#29) --- pants.toml | 2 +- tests/jvm/org/pantsbuild/example/lib/BUILD | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pants.toml b/pants.toml index 428e7f0..05a80d8 100644 --- a/pants.toml +++ b/pants.toml @@ -2,7 +2,7 @@ # Licensed under the Apache License, Version 2.0 (see LICENSE). [GLOBAL] -pants_version = "2.17.0" +pants_version = "2.18.0" backend_packages = [ # This repository demonstrates a mix of Java and Scala, and so both backends are enabled. But each # backend can be used independently, so there is no need to expose Scala BUILD file diff --git a/tests/jvm/org/pantsbuild/example/lib/BUILD b/tests/jvm/org/pantsbuild/example/lib/BUILD index 833c28e..9a76fae 100644 --- a/tests/jvm/org/pantsbuild/example/lib/BUILD +++ b/tests/jvm/org/pantsbuild/example/lib/BUILD @@ -1,5 +1,5 @@ scalatest_tests( # These tests are `parametrize`d, so that they will run against two different # JDK versions. - jdk=parametrize(adopt_11="adopt:1.11", adopt_12="adopt:1.12.0.2"), + jdk=parametrize(temurin_11="temurin:1.11", temurin_17="temurin:1.17"), )