Skip to content

Commit 4618b05

Browse files
committed
[update] 上传 aar 1.0.2(更新弹窗自适应高度)
1 parent ef6ba6e commit 4618b05

File tree

4 files changed

+24
-4
lines changed

4 files changed

+24
-4
lines changed

app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ dependencies {
3939
implementation fileTree(dir: 'libs', include: ['*.jar'])
4040
implementation 'androidx.appcompat:appcompat:1.2.0'
4141
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
42-
implementation project(':downloader')
43-
//implementation 'io.github.chiclaim:downloader:1.0.0'
42+
// implementation project(':downloader')
43+
implementation 'io.github.chiclaim:downloader:1.0.2'
4444
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.9.1'
4545

4646
}

build.gradle

+20
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ buildscript {
77
repositories {
88
google()
99
mavenCentral()
10+
maven {
11+
name = "Sonatype-Snapshots"
12+
// setUrl("https://oss.sonatype.org/content/repositories/snapshots")
13+
setUrl("https://s01.oss.sonatype.org/content/repositories/snapshots")
14+
credentials(PasswordCredentials.class) {
15+
// username = property("ossrhUsername").toString()
16+
// password = property("ossrhPassword").toString()
17+
}
18+
}
19+
1020
}
1121
dependencies {
1222
classpath 'com.android.tools.build:gradle:4.1.3'
@@ -20,6 +30,16 @@ allprojects {
2030
repositories {
2131
google()
2232
mavenCentral()
33+
maven {
34+
name = "Sonatype-Snapshots"
35+
// setUrl("https://oss.sonatype.org/content/repositories/snapshots")
36+
setUrl("https://s01.oss.sonatype.org/content/repositories/snapshots")
37+
credentials(PasswordCredentials.class) {
38+
// username = property("ossrhUsername").toString()
39+
// password = property("ossrhPassword").toString()
40+
}
41+
}
42+
2343
}
2444
}
2545

downloader/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ android {
1919
}
2020
buildTypes {
2121
release {
22-
minifyEnabled true
22+
minifyEnabled false
2323
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2424
}
2525
}

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ kotlin.code.style=official
3737
# io.github.chiclaim:downloader:x.x.x
3838
GROUP=io.github.chiclaim
3939
POM_ARTIFACT_ID=downloader
40-
VERSION_NAME=1.0.0
40+
VERSION_NAME=1.0.2
4141

4242
POM_SCM_URL=https://github.com/chiclaim/AndroidDownloader
4343
POM_SCM_CONNECTION=scm:git:git://github.com/chiclaim/AndroidDownloader.git

0 commit comments

Comments
 (0)