diff --git a/app/build.gradle b/app/build.gradle index 008ee2d..842c21e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -39,8 +39,8 @@ dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.2.0' implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - implementation project(':downloader') - //implementation 'io.github.chiclaim:downloader:1.0.0' +// implementation project(':downloader') + implementation 'io.github.chiclaim:downloader:1.0.2' debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.9.1' } diff --git a/build.gradle b/build.gradle index 282b58c..26653ed 100644 --- a/build.gradle +++ b/build.gradle @@ -7,6 +7,16 @@ buildscript { repositories { google() mavenCentral() + maven { + name = "Sonatype-Snapshots" +// setUrl("https://oss.sonatype.org/content/repositories/snapshots") + setUrl("https://s01.oss.sonatype.org/content/repositories/snapshots") + credentials(PasswordCredentials.class) { +// username = property("ossrhUsername").toString() +// password = property("ossrhPassword").toString() + } + } + } dependencies { classpath 'com.android.tools.build:gradle:4.1.3' @@ -20,6 +30,16 @@ allprojects { repositories { google() mavenCentral() + maven { + name = "Sonatype-Snapshots" +// setUrl("https://oss.sonatype.org/content/repositories/snapshots") + setUrl("https://s01.oss.sonatype.org/content/repositories/snapshots") + credentials(PasswordCredentials.class) { +// username = property("ossrhUsername").toString() +// password = property("ossrhPassword").toString() + } + } + } } diff --git a/downloader/build.gradle b/downloader/build.gradle index f36d01c..32488b9 100644 --- a/downloader/build.gradle +++ b/downloader/build.gradle @@ -19,7 +19,7 @@ android { } buildTypes { release { - minifyEnabled true + minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } diff --git a/gradle.properties b/gradle.properties index ea5bcb0..f7876e4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -37,7 +37,7 @@ kotlin.code.style=official # io.github.chiclaim:downloader:x.x.x GROUP=io.github.chiclaim POM_ARTIFACT_ID=downloader -VERSION_NAME=1.0.0 +VERSION_NAME=1.0.2 POM_SCM_URL=https://github.com/chiclaim/AndroidDownloader POM_SCM_CONNECTION=scm:git:git://github.com/chiclaim/AndroidDownloader.git