Skip to content

Commit

Permalink
Fix pom
Browse files Browse the repository at this point in the history
  • Loading branch information
zetbaitsu committed Mar 22, 2021
1 parent 31b0c5e commit 3a055d7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
implementation 'androidx.appcompat:appcompat:1.1.0'
//implementation 'id.zelory:compressor:2.1.0'
implementation project(':compressor')
implementation 'id.zelory:compressor:2.1.1'
//implementation project(':compressor')
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
}
3 changes: 1 addition & 2 deletions compressor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'com.github.dcendents.android-maven'

ext {
PUBLISH_GROUP_ID = 'id.zelory'
PUBLISH_VERSION = '2.1.0'
PUBLISH_VERSION = '2.1.1'
PUBLISH_ARTIFACT_ID = 'compressor'
}

Expand All @@ -29,7 +29,6 @@ android {


dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'
implementation "io.reactivex.rxjava2:rxjava:2.1.0"
}
2 changes: 1 addition & 1 deletion gradle/publish_maven.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ publishing {
maven {
name = "sonatype"

def releasesRepoUrl = "https://s01.oss.sonatype.org/content/repositories/releases/"
def releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl

Expand Down

0 comments on commit 3a055d7

Please sign in to comment.