diff --git a/samples/modular-guava/app/build.gradle.kts b/samples/modular-guava/app/build.gradle.kts index 6fc6e06c..b6a7948a 100644 --- a/samples/modular-guava/app/build.gradle.kts +++ b/samples/modular-guava/app/build.gradle.kts @@ -4,10 +4,6 @@ plugins { signing } -repositories { - mavenCentral() -} - dependencies { implementation(libs.guava) } diff --git a/samples/modular-guava/gradle/libs.versions.toml b/samples/modular-guava/gradle/libs.versions.toml index ceac4793..b481cb83 100644 --- a/samples/modular-guava/gradle/libs.versions.toml +++ b/samples/modular-guava/gradle/libs.versions.toml @@ -2,7 +2,7 @@ # https://docs.gradle.org/current/userguide/platforms.html#sub::toml-dependencies-format [versions] -guava = "32.1.3-jre" +guava = "33.0.0-jre-jpms" [libraries] guava = { module = "com.google.guava:guava", version.ref = "guava" } diff --git a/samples/modular-guava/settings.gradle.kts b/samples/modular-guava/settings.gradle.kts index 8e2c0c54..9c86ed41 100644 --- a/samples/modular-guava/settings.gradle.kts +++ b/samples/modular-guava/settings.gradle.kts @@ -5,3 +5,14 @@ plugins { rootProject.name = "modular-guava" include("app") + +dependencyResolutionManagement { + repositories { + maven { + name = "jpms-attic" + // url = uri("https://jpms.pkg.st/repository") + url = uri("file:///workspace/jpms/repository") + } + mavenCentral() + } +}