Keep dependency repository definitions well defined
This commit is contained in:
parent
321d645659
commit
0a19854ae2
|
@ -10,10 +10,6 @@ plugins {
|
||||||
id 'org.hibernate.build.xjc-jakarta'
|
id 'org.hibernate.build.xjc-jakarta'
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
|
||||||
gradlePluginPortal()
|
|
||||||
}
|
|
||||||
|
|
||||||
description = 'Hibernate\'s core ORM functionality'
|
description = 'Hibernate\'s core ORM functionality'
|
||||||
|
|
||||||
apply from: rootProject.file( 'gradle/published-java-module.gradle' )
|
apply from: rootProject.file( 'gradle/published-java-module.gradle' )
|
||||||
|
|
|
@ -30,13 +30,15 @@ dependencyResolutionManagement {
|
||||||
url( rootProject.property( "mavenMirror" ) )
|
url( rootProject.property( "mavenMirror" ) )
|
||||||
}
|
}
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
// Needed for the RC versions of Jakarta Persistence
|
if (System.env['JPA_PREVIEW'] != null) {
|
||||||
maven {
|
// Needed for the RC versions of Jakarta Persistence
|
||||||
url "https://jakarta.oss.sonatype.org/content/repositories/releases/"
|
maven {
|
||||||
}
|
url "https://jakarta.oss.sonatype.org/content/repositories/releases/"
|
||||||
// Needed for the SNAPSHOT versions of Jakarta Persistence
|
}
|
||||||
maven {
|
// Needed for the SNAPSHOT versions of Jakarta Persistence
|
||||||
url "https://jakarta.oss.sonatype.org/content/repositories/snapshots/"
|
maven {
|
||||||
|
url "https://jakarta.oss.sonatype.org/content/repositories/snapshots/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Allow loading additional dependencies from a local path;
|
//Allow loading additional dependencies from a local path;
|
||||||
|
|
Loading…
Reference in New Issue