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