完成maven上传
'com.mogo.cloud:passport:1.0.0' 'com.mogo.cloud:httpdns:1.0.0'
This commit is contained in:
@@ -29,6 +29,8 @@ dependencies {
|
||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||
implementation rootProject.ext.dependencies.androidxappcompat
|
||||
implementation rootProject.ext.dependencies.androidxconstraintlayout
|
||||
implementation project(path: ':foudations:mogo-passport')
|
||||
|
||||
// implementation project(path: ':foudations:mogo-passport')
|
||||
implementation 'com.mogo.cloud:passport:1.0.0'
|
||||
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
GROUP=com.mogo.httpdns
|
||||
POM_ARTIFACT_ID=httpdns-helper
|
||||
GROUP=com.mogo.cloud
|
||||
POM_ARTIFACT_ID=httpdns
|
||||
VERSION_CODE=1
|
||||
VERSION_NAME=1.0.18
|
||||
VERSION_NAME=1.0.0
|
||||
@@ -33,5 +33,8 @@ dependencies {
|
||||
// passport
|
||||
implementation 'com.zhidao.tcloginsdk:tclogin:1.1.5.1'
|
||||
api project(path: ':foudations:mogo-httpdns')
|
||||
// api 'com.mogo.cloud:httpdns:1.0.0'
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString()
|
||||
4
foudations/mogo-passport/gradle.properties
Normal file
4
foudations/mogo-passport/gradle.properties
Normal file
@@ -0,0 +1,4 @@
|
||||
GROUP=com.mogo.cloud
|
||||
POM_ARTIFACT_ID=passport
|
||||
VERSION_CODE=1
|
||||
VERSION_NAME=1.0.0
|
||||
@@ -3,13 +3,15 @@ apply plugin: 'maven-publish'
|
||||
|
||||
task loggerSourcesJar(type: Jar) {
|
||||
classifier = 'sources'
|
||||
if (plugins.hasPlugin("java-library")) {
|
||||
from sourceSets.main.java.srcDirs
|
||||
} else if (plugins.hasPlugin("com.android.library")) {
|
||||
from android.sourceSets.main.java.sourceFiles
|
||||
} else if (plugins.hasPlugin('groovy')) {
|
||||
from sourceSets.main.groovy.srcDirs
|
||||
}
|
||||
from android.sourceSets.main.java.srcDirs
|
||||
// if (plugins.hasPlugin("java-library")) {
|
||||
// from sourceSets.main.java.srcDirs
|
||||
// }
|
||||
// else if (plugins.hasPlugin("com.android.library")) {
|
||||
// from android.sourceSets.main.java.sourceFiles
|
||||
// } else if (plugins.hasPlugin('groovy')) {
|
||||
// from sourceSets.main.groovy.srcDirs
|
||||
// }
|
||||
}
|
||||
|
||||
artifacts {
|
||||
|
||||
Reference in New Issue
Block a user