Skip to content

Commit bd23c83

Browse files
author
guoxl
committed
pointerIndex 无效问题修复
1 parent 29276db commit bd23c83

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

jitpack.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
jdk:
2+
- openjdk8
3+
4+
build:
5+
- ./gradlew clean uploadArchives -Pgroup=com.github.mxdldev -Pversion=1.0.2.2 -xtest -xlint

lib_fly_refresh/build.gradle

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'maven' // 使用 maven 插件
23

34
android {
45
compileSdkVersion 28
56

6-
7-
87
defaultConfig {
98
minSdkVersion 14
109
targetSdkVersion 28
1110
versionCode 1
1211
versionName "1.0"
1312

1413
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
15-
1614
}
1715

1816
buildTypes {
@@ -21,7 +19,6 @@ android {
2119
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2220
}
2321
}
24-
2522
}
2623

2724
dependencies {
@@ -32,3 +29,15 @@ dependencies {
3229
implementation 'com.android.support:appcompat-v7:28.0.0'
3330
implementation 'com.android.support:recyclerview-v7:28.0.0'
3431
}
32+
33+
// 配置发布任务
34+
uploadArchives {
35+
repositories {
36+
mavenDeployer {
37+
repository(url: uri("${buildDir}/repo")) // 本地发布路径,可以改为远程仓库地址
38+
pom.groupId = 'com.github.mxdldev' // 替换为你的 GitHub 用户名
39+
pom.artifactId = 'android-fly-refreshlayout' // 替换为你的库名称
40+
pom.version = '1.0.2.2' // 替换为你的版本号
41+
}
42+
}
43+
}

0 commit comments

Comments
 (0)