diff --git a/ByRecyclerview/build.gradle b/ByRecyclerview/build.gradle index 4dd9fbc..b39436e 100644 --- a/ByRecyclerview/build.gradle +++ b/ByRecyclerview/build.gradle @@ -1,5 +1,8 @@ apply plugin: 'com.android.library' +apply plugin: 'com.github.dcendents.android-maven' +group = 'com.github.youlookwhat' + android { compileSdkVersion 29 @@ -26,6 +29,6 @@ dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) // AppBarLayout - compileOnly 'com.google.android.material:material:1.2.1' - compileOnly 'androidx.recyclerview:recyclerview:1.1.0' + compileOnly 'com.google.android.material:material:1.5.0' + compileOnly 'androidx.recyclerview:recyclerview:1.2.1' } diff --git a/app/build.gradle b/app/build.gradle index 54d787f..466dc93 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -89,7 +89,7 @@ dependencies { // 流式布局 implementation 'com.google.android:flexbox:2.0.1' implementation project(':ByRecyclerview') -// implementation "com.github.youlookwhat:ByRecyclerView:1.2.0" +// implementation "com.github.youlookwhat:ByRecyclerView:1.3.1" // 支持CoordinatorLayout的下拉刷新 implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0' } diff --git a/build.gradle b/build.gradle index 34392d2..77dcc45 100644 --- a/build.gradle +++ b/build.gradle @@ -12,6 +12,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:3.4.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }