diff --git a/settings.gradle b/settings.gradle index e436882ee5..ddc5050c18 100644 --- a/settings.gradle +++ b/settings.gradle @@ -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/"