0
0
Fork 0
mirror of https://github.com/YTVanced/VancedMicroG synced 2024-11-13 06:25:06 +00:00

Gradle: add description to poms

This commit is contained in:
Marvin W 2020-11-24 22:42:07 +01:00
parent e84452aeaf
commit a43273b5e0
No known key found for this signature in database
GPG key ID: 072E9235DB996F2A
13 changed files with 46 additions and 0 deletions

View file

@ -18,6 +18,7 @@ afterEvaluate {
release(MavenPublication) {
pom {
name = project.name
description = project.description
url = 'https://github.com/microg/GmsCore'
licenses {
license {

View file

@ -3,12 +3,33 @@
* SPDX-License-Identifier: Apache-2.0
*/
task javaSourcesJar(type: Jar) {
archiveClassifier.set("sources")
from sourceSets.main.allJava
}
javadoc {
classpath = configurations.compileClasspath
source = sourceSets.main.allJava
}
task javaJavadocsJar(type: Jar) {
archiveClassifier.set("javadoc")
from javadoc
}
artifacts {
archives javaSourcesJar
archives javaJavadocsJar
}
afterEvaluate {
publishing {
publications {
release(MavenPublication) {
pom {
name = project.name
description = project.description
url = 'https://github.com/microg/GmsCore'
licenses {
license {
@ -34,6 +55,8 @@ afterEvaluate {
}
from components.java
artifact javaSourcesJar
artifact javaJavadocsJar
}
}
if (project.hasProperty('sonatype.username')) {

View file

@ -42,3 +42,5 @@ android {
}
apply from: '../gradle/publish-android.gradle'
description = 'microG API for play-services-base'

View file

@ -60,3 +60,5 @@ android {
}
apply from: '../gradle/publish-android.gradle'
description = 'UI for microG service implementation for play-services-base'

View file

@ -31,3 +31,5 @@ android {
}
apply from: '../gradle/publish-android.gradle'
description = 'microG service implementation for play-services-base'

View file

@ -36,6 +36,8 @@ android {
apply from: '../gradle/publish-android.gradle'
description = 'microG implementation of play-services-base'
dependencies {
api project(':play-services-basement')
api project(':play-services-tasks')

View file

@ -53,3 +53,5 @@ android {
}
apply from: '../gradle/publish-android.gradle'
description = 'microG implementation of play-services-basement'

View file

@ -25,6 +25,8 @@ android {
apply from: '../gradle/publish-android.gradle'
description = 'microG API for play-services-nearby'
dependencies {
api project(':play-services-basement')
api project(':play-services-base-api')

View file

@ -25,3 +25,5 @@ compileTestKotlin {
}
apply from: '../gradle/publish-java.gradle'
description = 'Protocol buffers for microG implementation of play-services-nearby'

View file

@ -64,3 +64,5 @@ android {
}
apply from: '../gradle/publish-android.gradle'
description = 'UI for microG service implementation for play-services-nearby'

View file

@ -52,3 +52,5 @@ android {
}
apply from: '../gradle/publish-android.gradle'
description = 'microG service implementation for play-services-nearby'

View file

@ -25,6 +25,8 @@ android {
apply from: '../gradle/publish-android.gradle'
description = 'microG implementation of play-services-nearby'
dependencies {
api project(':play-services-base')
api project(':play-services-nearby-api')

View file

@ -28,3 +28,5 @@ dependencies {
}
apply from: '../gradle/publish-android.gradle'
description = 'microG implementation of play-services-tasks'