Skip to content

Commit

Permalink
fuck jitpack4
Browse files Browse the repository at this point in the history
  • Loading branch information
lihangleo2 committed Sep 9, 2023
1 parent e25d250 commit 361f10e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ plugins {

android {
namespace = "com.leo.viewpager2demo"
compileSdk = 33
compileSdk = 31

defaultConfig {
applicationId = "com.leo.viewpager2demo"
minSdk = 29
targetSdk = 33
targetSdk = 31
versionCode = 1
versionName = "1.0.0"

Expand Down
10 changes: 4 additions & 6 deletions smartVpageAdapterlibrary/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
plugins {
id 'maven-publish'
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
id 'maven-publish'
}

android {
namespace 'com.smart.adapter'
compileSdk 33
compileSdk 31

defaultConfig {
minSdk 21
Expand All @@ -30,12 +30,11 @@ android {
}

dependencies {

// implementation 'androidx.core:core-ktx:1.8.0'
implementation 'androidx.core:core-ktx:1.8.0'
implementation 'androidx.viewpager2:viewpager2:1.0.0'
}

//解决发布版本bug:参考连接 https://blog.csdn.net/qq_41885673/article/details/121588094
////解决发布版本bug:参考连接 https://blog.csdn.net/qq_41885673/article/details/121588094
afterEvaluate {
publishing {
publications {
Expand All @@ -47,6 +46,5 @@ afterEvaluate {
}
}
}

}

0 comments on commit 361f10e

Please sign in to comment.