mirror of
https://github.com/Guardsquare/proguard.git
synced 2026-03-13 09:50:34 +08:00
Update jcenter references to Maven Central (#154)
This commit is contained in:
@@ -7,7 +7,7 @@ plugins {
|
||||
}
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
sourceCompatibility = "${target}"
|
||||
|
||||
@@ -7,7 +7,7 @@ plugins {
|
||||
}
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
sourceCompatibility = "${target}"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ line to your **`build.gradle`** file:
|
||||
```Groovy
|
||||
buildscript {
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.guardsquare:proguard-gradle:7.0.1'
|
||||
|
||||
@@ -59,7 +59,7 @@ project as follows:
|
||||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.3.0'
|
||||
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
}
|
||||
@@ -62,6 +62,6 @@ android {
|
||||
}
|
||||
|
||||
repositories {
|
||||
google() // For the Android plugin.
|
||||
jcenter() // For anything else.
|
||||
google() // For the Android plugin.
|
||||
mavenCentral() // For anything else.
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
@@ -63,6 +63,6 @@ android {
|
||||
}
|
||||
|
||||
repositories {
|
||||
google() // For the Android plugin.
|
||||
jcenter() // For anything else.
|
||||
google() // For the Android plugin.
|
||||
mavenCentral() // For anything else.
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
@@ -17,7 +17,7 @@ plugins {
|
||||
}
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
|
||||
@@ -6,7 +6,7 @@ plugins {
|
||||
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
sourceCompatibility = "${target}"
|
||||
|
||||
@@ -7,7 +7,7 @@ plugins {
|
||||
}
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
sourceCompatibility = "${target}"
|
||||
|
||||
@@ -7,7 +7,7 @@ plugins {
|
||||
}
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
sourceCompatibility = "${target}"
|
||||
|
||||
Reference in New Issue
Block a user