Verified Commit a43273b5 authored by Marvin W.'s avatar Marvin W. 🐿
Browse files

Gradle: add description to poms

parent e84452ae
......@@ -18,6 +18,7 @@ afterEvaluate {
release(MavenPublication) {
pom {
name = project.name
description = project.description
url = 'https://github.com/microg/GmsCore'
licenses {
license {
......
......@@ -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')) {
......
......@@ -42,3 +42,5 @@ android {
}
apply from: '../gradle/publish-android.gradle'
description = 'microG API for play-services-base'
......@@ -60,3 +60,5 @@ android {
}
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'
description = 'microG service implementation for play-services-base'
......@@ -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')
......
......@@ -53,3 +53,5 @@ android {
}
apply from: '../gradle/publish-android.gradle'
description = 'microG implementation of play-services-basement'
......@@ -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')
......
......@@ -25,3 +25,5 @@ compileTestKotlin {
}
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'
description = 'UI for microG service implementation for play-services-nearby'
......@@ -52,3 +52,5 @@ android {
}
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'
description = 'microG implementation of play-services-nearby'
dependencies {
api project(':play-services-base')
api project(':play-services-nearby-api')
......
......@@ -28,3 +28,5 @@ dependencies {
}
apply from: '../gradle/publish-android.gradle'
description = 'microG implementation of play-services-tasks'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment