完成maven上传

'com.mogo.cloud:passport:1.0.0'
'com.mogo.cloud:httpdns:1.0.0'
This commit is contained in:
董宏宇
2021-01-20 12:01:24 +08:00
parent 87ed5c2a56
commit d3280d7284
5 changed files with 23 additions and 12 deletions

View File

@@ -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'
}

View File

@@ -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

View File

@@ -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()

View File

@@ -0,0 +1,4 @@
GROUP=com.mogo.cloud
POM_ARTIFACT_ID=passport
VERSION_CODE=1
VERSION_NAME=1.0.0

View File

@@ -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 {