Skip to content

Commit a0b7dea

Browse files
committed
移除jcenter
1 parent 58ea062 commit a0b7dea

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dependencies {
3030
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
3131
implementation 'androidx.appcompat:appcompat:1.0.0'
3232
implementation "androidx.recyclerview:recyclerview:1.1.0"
33-
implementation 'com.lxj:easyadapter:1.2.2'
33+
implementation 'com.github.li-xiaojun:EasyAdapter:1.2.4'
3434
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
3535
implementation project(':statelayout-library')
3636
}

build.gradle

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ buildscript {
44
ext.kotlin_version = '1.3.41'
55
repositories {
66
google()
7-
jcenter()
7+
mavenCentral()
88
}
99
dependencies {
1010
classpath 'com.android.tools.build:gradle:3.5.3'
1111
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
12-
classpath 'com.novoda:bintray-release:0.9.2'
1312
// NOTE: Do not place your application dependencies here; they belong
1413
// in the individual module build.gradle files
1514
}
@@ -18,7 +17,7 @@ buildscript {
1817
allprojects {
1918
repositories {
2019
google()
21-
jcenter()
20+
mavenCentral()
2221
maven { url "https://jitpack.io" }
2322
}
2423
}

statelayout-library/build.gradle

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
apply plugin: 'com.android.library'
22
apply plugin: 'kotlin-android'
3-
apply plugin: 'com.novoda.bintray-release'
43

54
android {
65
compileSdkVersion 28
@@ -26,12 +25,12 @@ dependencies {
2625
implementation 'androidx.appcompat:appcompat:1.1.0'
2726
}
2827

29-
publish {
30-
userOrg = 'li-xiaojun'
31-
groupId = 'com.lxj'
32-
artifactId = 'statelayout'
33-
publishVersion = '1.2.2'
34-
repoName = 'jrepo'
35-
desc = 'Simple way to change your layout state, like loading, _statelayout_empty, _statelayout_error. Strong customizitaion, written by Kotlin!'
36-
website = 'https://github.com/li-xiaojun/StateLayout'
37-
}
28+
//publish {
29+
// userOrg = 'li-xiaojun'
30+
// groupId = 'com.lxj'
31+
// artifactId = 'statelayout'
32+
// publishVersion = '1.2.2'
33+
// repoName = 'jrepo'
34+
// desc = 'Simple way to change your layout state, like loading, _statelayout_empty, _statelayout_error. Strong customizitaion, written by Kotlin!'
35+
// website = 'https://github.com/li-xiaojun/StateLayout'
36+
//}

0 commit comments

Comments
 (0)