File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ plugins {
66
77// ext.GROUP = "com.lute.network"
88// ext.POM_ARTIFACT_ID = "NetCore-Flow"
9- // ext.VERSION_NAME = "1.7.0 "
9+ // ext.VERSION_NAME = "1.7.1 "
1010// //引用gradle_upload.gradle
1111// apply from: "${project.rootDir}/maven_upload.gradle"
1212
@@ -19,13 +19,19 @@ afterEvaluate {
1919 // 这里头是artifacts的配置信息,不填会采用默认的
2020 groupId = ' com.github.buhuiming'
2121 artifactId = ' NetCore-Flow'
22- version = ' 1.7.0 '
22+ version = ' 1.7.1 '
2323
2424 from components. release
25- artifact androidSourcesJar // 打包源码,去除这行打的包将看不到源码
25+ if (! project. plugins. hasPlugin(' kotlin-android' )) {
26+ artifact tasks. named(" androidSourcesJar" ). get()
27+ }
2628 }
2729 }
2830 }
31+ // 显式声明任务依赖关系
32+ tasks. matching { it. name. startsWith(" generateMetadataFileFor" ) }. configureEach {
33+ dependsOn tasks. named(" androidSourcesJar" )
34+ }
2935}
3036// 用于打包源代码的任务
3137tasks. register(' androidSourcesJar' , Jar ) {
Original file line number Diff line number Diff line change 1010 }
1111
1212 dependencies {
13- implementation 'com.github.buhuiming:NetCore-Flow:1.7.0 '
13+ implementation 'com.github.buhuiming:NetCore-Flow:1.7.1 '
1414 }
1515
1616#### 1、Application配置默认的全局配置项(可选)
You can’t perform that action at this time.
0 commit comments