Skip to content

Commit

Permalink
Remove jcenter references
Browse files Browse the repository at this point in the history
  • Loading branch information
ab180-wontakkim committed May 17, 2021
1 parent 566e44f commit 7ab9f95
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 42 deletions.
41 changes: 3 additions & 38 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
apply plugin: "groovy"
apply plugin: "maven"
apply plugin: "com.novoda.bintray-release"

def versionName = "1.5.0"
def pomGroupId = "co.ab180"
def pomArtifactId = "fatjar"

sourceCompatibility = 1.7

buildscript {
repositories {
jcenter()

}
dependencies {
classpath "com.novoda:bintray-release:0.9.2"

}
}

repositories {
jcenter()
google()
mavenCentral()
}
Expand All @@ -28,32 +20,5 @@ dependencies {
implementation localGroovy()
implementation "com.android.tools.build:gradle:3.4.1"
implementation "org.zeroturnaround:zt-zip:1.13"
implementation "com.g00fy2:versioncompare:1.3.4"
}

uploadArchives {
repositories {
mavenDeployer {
repository(url: uri("$rootDir/mavenlocal"))
pom {
groupId = pomGroupId
artifactId = pomArtifactId
version = versionName
}
}
}
}

publish {
autoPublish = true
// Bintray repo settings
userOrg = "ab180"
repoName = "gradle-plugin"
uploadName = "fatjar"
publishVersion = versionName
desc = "Gradle Fatjar Plugin"
website = "https://github.com/ab180/fat-jar"
// POM settings
groupId = pomGroupId
artifactId = pomArtifactId
implementation "io.github.g00fy2:versioncompare:1.4.1"
}
2 changes: 1 addition & 1 deletion src/main/groovy/co/ab180/fatjar/FatJarProcessor.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package co.ab180.fatjar

import com.android.build.gradle.api.LibraryVariant
import com.g00fy2.versioncompare.Version
import io.github.g00fy2.versioncompare.Version
import com.tonicsystems.jarjar.Rule
import org.gradle.api.Project
import org.gradle.api.Task
Expand Down
2 changes: 1 addition & 1 deletion src/main/groovy/co/ab180/fatjar/FileUtils.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package co.ab180.fatjar

import com.android.build.gradle.api.LibraryVariant
import com.g00fy2.versioncompare.Version
import io.github.g00fy2.versioncompare.Version
import org.gradle.api.Project

class FileUtils {
Expand Down
2 changes: 1 addition & 1 deletion src/main/groovy/co/ab180/fatjar/PathUtils.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package co.ab180.fatjar

import com.android.build.gradle.api.LibraryVariant
import com.g00fy2.versioncompare.Version
import io.github.g00fy2.versioncompare.Version

class PathUtils {

Expand Down
2 changes: 1 addition & 1 deletion src/main/groovy/co/ab180/fatjar/TaskUtils.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package co.ab180.fatjar

import com.android.build.gradle.api.LibraryVariant
import com.g00fy2.versioncompare.Version
import io.github.g00fy2.versioncompare.Version
import com.tonicsystems.jarjar.MainProcessor
import com.tonicsystems.jarjar.Rule
import com.tonicsystems.jarjar.util.StandaloneJarProcessor
Expand Down

0 comments on commit 7ab9f95

Please sign in to comment.