Skip to content

Commit

Permalink
Use Maven Central instead of JCenter which will shut down in a few mo…
Browse files Browse the repository at this point in the history
…nths, thanks to Taher Alkhateeb for bringing this up
  • Loading branch information
jonesde committed Feb 8, 2021
1 parent a43d7b4 commit 11eac30
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ def frameworkDir = file(moquiDir.absolutePath + '/framework')
// to run use "gradle dependencyUpdates"
apply plugin: 'com.github.ben-manes.versions'
buildscript {
repositories { jcenter() }
repositories {
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies { classpath 'com.github.ben-manes:gradle-versions-plugin:0.27.0' }
}
dependencyUpdates.resolutionStrategy = { componentSelection { rules -> rules.all { ComponentSelection selection ->
Expand All @@ -35,7 +38,7 @@ dependencyUpdates.resolutionStrategy = { componentSelection { rules -> rules.all
repositories {
flatDir name: 'localLib', dirs: frameworkDir.absolutePath + '/lib'
flatDir name: 'librepo', dirs: projectDir.absolutePath + '/librepo'
jcenter()
mavenCentral()
}

// Log4J has annotation processors, disable to avoid warning
Expand Down

0 comments on commit 11eac30

Please sign in to comment.