Use System.getProperty() instead
This commit is contained in:
parent
0a19854ae2
commit
84f2f3535f
|
@ -30,7 +30,7 @@ dependencyResolutionManagement {
|
|||
url( rootProject.property( "mavenMirror" ) )
|
||||
}
|
||||
mavenCentral()
|
||||
if (System.env['JPA_PREVIEW'] != null) {
|
||||
if (System.getProperty('JPA_PREVIEW') != null) {
|
||||
// Needed for the RC versions of Jakarta Persistence
|
||||
maven {
|
||||
url "https://jakarta.oss.sonatype.org/content/repositories/releases/"
|
||||
|
|
Loading…
Reference in New Issue