mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-12-04 00:37:27 +00:00
Gradle: add description to poms
This commit is contained in:
parent
e84452aeaf
commit
a43273b5e0
13 changed files with 46 additions and 0 deletions
|
@ -18,6 +18,7 @@ afterEvaluate {
|
||||||
release(MavenPublication) {
|
release(MavenPublication) {
|
||||||
pom {
|
pom {
|
||||||
name = project.name
|
name = project.name
|
||||||
|
description = project.description
|
||||||
url = 'https://github.com/microg/GmsCore'
|
url = 'https://github.com/microg/GmsCore'
|
||||||
licenses {
|
licenses {
|
||||||
license {
|
license {
|
||||||
|
|
|
@ -3,12 +3,33 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* 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 {
|
afterEvaluate {
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
release(MavenPublication) {
|
release(MavenPublication) {
|
||||||
pom {
|
pom {
|
||||||
name = project.name
|
name = project.name
|
||||||
|
description = project.description
|
||||||
url = 'https://github.com/microg/GmsCore'
|
url = 'https://github.com/microg/GmsCore'
|
||||||
licenses {
|
licenses {
|
||||||
license {
|
license {
|
||||||
|
@ -34,6 +55,8 @@ afterEvaluate {
|
||||||
}
|
}
|
||||||
|
|
||||||
from components.java
|
from components.java
|
||||||
|
artifact javaSourcesJar
|
||||||
|
artifact javaJavadocsJar
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (project.hasProperty('sonatype.username')) {
|
if (project.hasProperty('sonatype.username')) {
|
||||||
|
|
|
@ -42,3 +42,5 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../gradle/publish-android.gradle'
|
apply from: '../gradle/publish-android.gradle'
|
||||||
|
|
||||||
|
description = 'microG API for play-services-base'
|
||||||
|
|
|
@ -60,3 +60,5 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../gradle/publish-android.gradle'
|
apply from: '../gradle/publish-android.gradle'
|
||||||
|
|
||||||
|
description = 'UI for microG service implementation for play-services-base'
|
||||||
|
|
|
@ -31,3 +31,5 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../gradle/publish-android.gradle'
|
apply from: '../gradle/publish-android.gradle'
|
||||||
|
|
||||||
|
description = 'microG service implementation for play-services-base'
|
||||||
|
|
|
@ -36,6 +36,8 @@ android {
|
||||||
|
|
||||||
apply from: '../gradle/publish-android.gradle'
|
apply from: '../gradle/publish-android.gradle'
|
||||||
|
|
||||||
|
description = 'microG implementation of play-services-base'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':play-services-basement')
|
api project(':play-services-basement')
|
||||||
api project(':play-services-tasks')
|
api project(':play-services-tasks')
|
||||||
|
|
|
@ -53,3 +53,5 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../gradle/publish-android.gradle'
|
apply from: '../gradle/publish-android.gradle'
|
||||||
|
|
||||||
|
description = 'microG implementation of play-services-basement'
|
||||||
|
|
|
@ -25,6 +25,8 @@ android {
|
||||||
|
|
||||||
apply from: '../gradle/publish-android.gradle'
|
apply from: '../gradle/publish-android.gradle'
|
||||||
|
|
||||||
|
description = 'microG API for play-services-nearby'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':play-services-basement')
|
api project(':play-services-basement')
|
||||||
api project(':play-services-base-api')
|
api project(':play-services-base-api')
|
||||||
|
|
|
@ -25,3 +25,5 @@ compileTestKotlin {
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../gradle/publish-java.gradle'
|
apply from: '../gradle/publish-java.gradle'
|
||||||
|
|
||||||
|
description = 'Protocol buffers for microG implementation of play-services-nearby'
|
||||||
|
|
|
@ -64,3 +64,5 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../gradle/publish-android.gradle'
|
apply from: '../gradle/publish-android.gradle'
|
||||||
|
|
||||||
|
description = 'UI for microG service implementation for play-services-nearby'
|
||||||
|
|
|
@ -52,3 +52,5 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../gradle/publish-android.gradle'
|
apply from: '../gradle/publish-android.gradle'
|
||||||
|
|
||||||
|
description = 'microG service implementation for play-services-nearby'
|
||||||
|
|
|
@ -25,6 +25,8 @@ android {
|
||||||
|
|
||||||
apply from: '../gradle/publish-android.gradle'
|
apply from: '../gradle/publish-android.gradle'
|
||||||
|
|
||||||
|
description = 'microG implementation of play-services-nearby'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':play-services-base')
|
api project(':play-services-base')
|
||||||
api project(':play-services-nearby-api')
|
api project(':play-services-nearby-api')
|
||||||
|
|
|
@ -28,3 +28,5 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../gradle/publish-android.gradle'
|
apply from: '../gradle/publish-android.gradle'
|
||||||
|
|
||||||
|
description = 'microG implementation of play-services-tasks'
|
||||||
|
|
Loading…
Reference in a new issue