mirror of
https://github.com/google/nomulus
synced 2026-09-20 06:54:43 +00:00
Replace javax.inject with jakarta.inject (#2372)
Note that Dagger currently doesn't work with the Jakarta namespace and we have to cap the jakarta inject package version below 2.0 so that it sill provides classes in the old namespace.
This commit is contained in:
+7
-3
@@ -98,6 +98,12 @@ ext {
|
||||
// TODO: Remove the cap after the pins are removed.
|
||||
'com.google.api-client:google-api-client:[1.31.3,2)!!',
|
||||
|
||||
// Dagger doesn't support the Jakarta namespace yet. Pre-2.0 Jakarta
|
||||
// Inject still use the old javax namespace.
|
||||
// TODO: Remove the cap when https://github.com/google/dagger/issues/2058
|
||||
// is released.
|
||||
'jakarta.inject:jakarta.inject-api:[1,2.0.0)!!',
|
||||
|
||||
|
||||
// DYNAMIC VERSIONS START HERE.
|
||||
|
||||
@@ -152,6 +158,7 @@ ext {
|
||||
'com.google.http-client:google-http-client-appengine:[1.39.0,)',
|
||||
'com.google.http-client:google-http-client-jackson2:[1.39.0,)',
|
||||
'com.google.http-client:google-http-client:[1.39.0,)',
|
||||
// TODO: Remove after the old console is removed (dependency of soy).
|
||||
'com.google.inject:guice:[5.0.1,)',
|
||||
'com.google.monitoring-client:contrib:[1.0.7,)',
|
||||
'com.google.monitoring-client:metrics:[1.0.7,)',
|
||||
@@ -178,9 +185,6 @@ ext {
|
||||
'io.github.classgraph:classgraph:[4.8.102,)',
|
||||
'io.github.java-diff-utils:java-diff-utils:[4.9,)',
|
||||
'io.netty:netty-tcnative-boringssl-static:[2.0.36.Final,)',
|
||||
'javax.annotation:javax.annotation-api:[1.3.2,)',
|
||||
'javax.annotation:jsr250-api:[1.0,)',
|
||||
'javax.inject:javax.inject:[1,)',
|
||||
// Upgrade to jakarta when we remove App Engine dependency
|
||||
'javax.mail:mail:[1.4,)',
|
||||
'javax.persistence:javax.persistence-api:[2.2,)',
|
||||
|
||||
Reference in New Issue
Block a user