Skip to content

Commit

Permalink
DHFPROD-7695: Removed jcenter references
Browse files Browse the repository at this point in the history
Replaced with mavenCentral() where appropriate. Did not modify any of the dhf4 example projects, as those depend on older versions of DHF and ml-gradle whose dependencies only exist in jcenter.
  • Loading branch information
rjrudin authored and MarkLogic Builder committed Aug 6, 2021
1 parent f18df13 commit 399cd1f
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 14 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Gradle plugin:
buildscript {
repositories {
mavenLocal()
jcenter()
mavenCentral()
}
dependencies {
classpath "com.marklogic:ml-data-hub:(the version number you chose)"
Expand All @@ -143,7 +143,7 @@ Gradle plugin:
plugins {
...
// comment out this line. It pulls the version from the cloud
// id 'com.marklogic.ml-data-hub' version '4.0.0'
// id 'com.marklogic.ml-data-hub' version '5.5.0'
}
// this tells gradle to apply the plugin you included above in the buildscript section
Expand Down
1 change: 0 additions & 1 deletion examples/dh-5-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ plugins {
repositories {
mavenCentral()
jcenter()
}
dependencies {
Expand Down
4 changes: 2 additions & 2 deletions examples/dhs-example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ buildscript {
repositories {
mavenLocal()
maven { url "https://plugins.gradle.org/m2/" }
jcenter()
mavenCentral()
}
dependencies {
if (project.hasProperty("testing")) {
classpath "com.marklogic:ml-data-hub:5.2-SNAPSHOT"
classpath "com.marklogic:ml-data-hub:5.5-SNAPSHOT"
} else {
classpath "com.marklogic:ml-data-hub:5.5.0"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/reference-entity-model/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ library available in the DHF 5.5.0 release. This support is enabled via the foll
build.gradle file:

- The "java" plugin is applied so that Gradle's support for compiling and running JUnit5 tests can be used
- In the "repositories" block, mavenCentral() and jcenter() are both included to satisfy the dependencies for test support
- In the "repositories" block, mavenCentral() is included to satisfy the dependencies for test support
- In the "dependencies" block, marklogic-unit-test-modules is included so that the modules associated with this library will be
loaded into the modules database, and marklogic-data-hub-junit5 is included to support JUnit5 testing
- The "test" block includes "useJUnitPlatform()" to tell Gradle to use the platform support in JUnit5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

repositories {
jcenter()
mavenCentral()
}

sourceCompatibility = "8"
Expand Down
12 changes: 6 additions & 6 deletions performance-tests/projects/commoncrawl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ buildscript {
repositories {
mavenLocal()
maven { url "https://plugins.gradle.org/m2/" }
jcenter()
mavenCentral()
}
dependencies {
if (project.hasProperty("testing")) {
classpath "com.marklogic:ml-data-hub:5.5-SNAPSHOT"

} else {
classpath "com.marklogic:ml-data-hub:5.4.0"
classpath "com.marklogic:ml-data-hub:5.5.0"
}
}
}
Expand Down Expand Up @@ -41,11 +41,11 @@ task clearFinalDatabase(type: com.marklogic.gradle.task.databases.ClearDatabaseT
}

repositories {
jcenter()
maven { url "http://developer.marklogic.com/maven2/" }
mavenCentral()
maven { url "https://developer.marklogic.com/maven2/" }
}
dependencies {
mlcp "com.marklogic:mlcp:10.0.5"
mlcp "com.marklogic:mlcp:10.0.6.2"
mlcp files("lib")
}

Expand Down Expand Up @@ -86,7 +86,7 @@ task loadIpViaMlcp(type: com.marklogic.gradle.task.MlcpTask) {
task runMapping (type: com.marklogic.gradle.task.RunFlowTask) {
description = "Run mapping step"
flowName = "mapping"
showOptions = "true"
showOptions = "true"
}

task runMastering (type: com.marklogic.gradle.task.RunFlowTask) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 399cd1f

Please sign in to comment.