Skip to content

Commit

Permalink
Update jcenter references to Maven Central (Guardsquare#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjameshamilton authored Apr 28, 2021
1 parent 77d734f commit 87000a4
Show file tree
Hide file tree
Showing 23 changed files with 31 additions and 34 deletions.
2 changes: 1 addition & 1 deletion ant/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

repositories {
jcenter()
mavenCentral()
}

sourceCompatibility = "${target}"
Expand Down
2 changes: 1 addition & 1 deletion base/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

repositories {
jcenter()
mavenCentral()
}

sourceCompatibility = "${target}"
Expand Down
2 changes: 0 additions & 2 deletions docs/md/downloads.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ ProGuard is written in Java, so it requires a Java Runtime Environment

You can download ProGuard in various forms:

- [Pre-built artifacts](https://bintray.com/guardsquare/proguard) at JCenter
- [Pre-built artifacts](https://search.maven.org/search?q=g:com.guardsquare) at Maven Central
- [Traditional pre-built archives](https://sourceforge.net/projects/proguard/files/) at SourceForge
- A [Git repository of the source code](https://github.com/Guardsquare/proguard) at Github
- The [complete ProGuard manual](https://www.guardsquare.com/proguard) at Guardsquare

Expand Down
4 changes: 2 additions & 2 deletions docs/md/manual/languages/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Furthermore, you need to add the *streamsupport* library as dependency to your
project, e.g. like this:
```Groovy
repositories {
jcenter()
mavenCentral()
}
dependencies {
Expand Down Expand Up @@ -132,7 +132,7 @@ Furthermore, you need to add the *threetenbp* library as dependency to your
project, e.g. like this:
```Groovy
repositories {
jcenter()
mavenCentral()
}
dependencies {
Expand Down
3 changes: 1 addition & 2 deletions docs/md/manual/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ For more detailed information see [standalone mode](setup/standalone.md).

## Integrated

The ProGuard artifacts are hosted at [JCenter](https://bintray.com/guardsquare/proguard)
or [Maven Central](https://search.maven.org/search?q=g:com.guardsquare).
The ProGuard artifacts are hosted at [Maven Central](https://search.maven.org/search?q=g:com.guardsquare).

### Android Gradle project

Expand Down
2 changes: 1 addition & 1 deletion docs/md/manual/setup/gradle.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ line to your **`build.gradle`** file:
```Groovy
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.guardsquare:proguard-gradle:7.0.1'
Expand Down
4 changes: 2 additions & 2 deletions docs/md/manual/setup/gradleplugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ project as follows:
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
Expand All @@ -78,7 +78,7 @@ buildscript {
repositories {
flatDir dirs: '/usr/local/java/proguard/lib'
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
Expand Down
8 changes: 4 additions & 4 deletions examples/android-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ buildscript {
repositories {
//flatDir dirs: '../../lib' // For the local copy of the ProGuard plugin.
google() // For the Android Gradle plugin.
jcenter() // For anything else.
mavenCentral() // For anything else.
}
dependencies {
//classpath ':proguard:' // For the local copy of the ProGuard plugin.
classpath 'com.guardsquare:proguard-gradle:7.0.1' // For the copy from Jcenter.
classpath 'com.guardsquare:proguard-gradle:7.0.1'
classpath 'com.android.tools.build:gradle:3.3.0'
}
}
Expand Down Expand Up @@ -62,6 +62,6 @@ android {
}

repositories {
google() // For the Android plugin.
jcenter() // For anything else.
google() // For the Android plugin.
mavenCentral() // For anything else.
}
8 changes: 4 additions & 4 deletions examples/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
buildscript {
repositories {
google() // For the Android plugin.
jcenter() // For anything else.
google() // For the Android plugin.
mavenCentral() // For anything else.
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
Expand Down Expand Up @@ -63,6 +63,6 @@ android {
}

repositories {
google() // For the Android plugin.
jcenter() // For anything else.
google() // For the Android plugin.
mavenCentral() // For anything else.
}
4 changes: 2 additions & 2 deletions examples/gradle-kotlin-dsl/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
repositories {
jcenter()
mavenCentral()
google()
}
dependencies {
Expand All @@ -17,7 +17,7 @@ plugins {
}

repositories {
jcenter()
mavenCentral()
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion examples/gradle/android.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
buildscript {
repositories {
mavenLocal()
jcenter()
mavenCentral()
google()
}
dependencies {
Expand Down
2 changes: 1 addition & 1 deletion examples/gradle/applets.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
buildscript {
repositories {
mavenLocal()
jcenter()
mavenCentral()
google()
}
dependencies {
Expand Down
2 changes: 1 addition & 1 deletion examples/gradle/applications.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
buildscript {
repositories {
mavenLocal()
jcenter()
mavenCentral()
google()
}
dependencies {
Expand Down
2 changes: 1 addition & 1 deletion examples/gradle/library.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
buildscript {
repositories {
mavenLocal()
jcenter()
mavenCentral()
google()
}
dependencies {
Expand Down
2 changes: 1 addition & 1 deletion examples/gradle/midlets.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
buildscript {
repositories {
mavenLocal()
jcenter()
mavenCentral()
google()
}
dependencies {
Expand Down
2 changes: 1 addition & 1 deletion examples/gradle/proguard.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
buildscript {
repositories {
mavenLocal()
jcenter()
mavenCentral()
google()
}
dependencies {
Expand Down
2 changes: 1 addition & 1 deletion examples/gradle/proguardgui.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
buildscript {
repositories {
mavenLocal()
jcenter()
mavenCentral()
google()
}
dependencies {
Expand Down
2 changes: 1 addition & 1 deletion examples/gradle/retrace.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
buildscript {
repositories {
mavenLocal()
jcenter()
mavenCentral()
google()
}
dependencies {
Expand Down
2 changes: 1 addition & 1 deletion examples/gradle/scala.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
buildscript {
repositories {
mavenLocal()
jcenter()
mavenCentral()
google()
}
dependencies {
Expand Down
2 changes: 1 addition & 1 deletion examples/gradle/servlets.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
buildscript {
repositories {
mavenLocal()
jcenter()
mavenCentral()
google()
}
dependencies {
Expand Down
2 changes: 1 addition & 1 deletion gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {

repositories {
google()
jcenter()
mavenCentral()
}

sourceCompatibility = "${target}"
Expand Down
2 changes: 1 addition & 1 deletion gui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

repositories {
jcenter()
mavenCentral()
}

sourceCompatibility = "${target}"
Expand Down
2 changes: 1 addition & 1 deletion retrace/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

repositories {
jcenter()
mavenCentral()
}

sourceCompatibility = "${target}"
Expand Down

0 comments on commit 87000a4

Please sign in to comment.