From 4618b05b988662b9617a39a8e2accf5764beeaa9 Mon Sep 17 00:00:00 2001 From: chiclaim Date: Sat, 13 Aug 2022 13:14:24 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=B8=8A=E4=BC=A0=20aar=201.0.2?= =?UTF-8?q?=EF=BC=88=E6=9B=B4=E6=96=B0=E5=BC=B9=E7=AA=97=E8=87=AA=E9=80=82?= =?UTF-8?q?=E5=BA=94=E9=AB=98=E5=BA=A6=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 4 ++-- build.gradle | 20 ++++++++++++++++++++ downloader/build.gradle | 2 +- gradle.properties | 2 +- 4 files changed, 24 insertions(+), 4 deletions(-) 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