Use System.getProperty() instead

This commit is contained in:
Christian Beikov 2024-06-12 09:23:03 +02:00
parent 0a19854ae2
commit 84f2f3535f
1 changed files with 1 additions and 1 deletions

View File

@ -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/"