-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5eade7c
commit 51a1714
Showing
5 changed files
with
136 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
import com.vanniktech.maven.publish.AndroidSingleVariantLibrary | ||
import com.vanniktech.maven.publish.SonatypeHost | ||
|
||
plugins { | ||
alias(libs.plugins.android.library) | ||
alias(libs.plugins.jetbrains.kotlin.android) | ||
alias(libs.plugins.jetbrains.kotlin.serialization) | ||
alias(libs.plugins.vanniktech.maven.publish) | ||
id("kotlin-parcelize") | ||
`maven-publish` | ||
} | ||
|
@@ -69,10 +73,49 @@ dependencies { | |
api(libs.glassfish.jakarta.json) | ||
} | ||
|
||
mavenPublishing { | ||
configure(AndroidSingleVariantLibrary( | ||
variant = "release", | ||
sourcesJar = true, | ||
publishJavadocJar = true, | ||
)) | ||
coordinates("com.pondersource.shared", "shared", "0.2.0") | ||
|
||
pom { | ||
name.set("SolidAndroidShared") | ||
description.set("A set of classes needed for SolidAndroidServices and it's dependencies.") | ||
inceptionYear.set("2024") | ||
url.set("https://github.com/pondersource/Android-Solid-Services/") | ||
licenses { | ||
license { | ||
name.set("MIT License") | ||
url.set("https://opensource.org/license/mit") | ||
distribution.set("https://opensource.org/license/mit") | ||
} | ||
} | ||
developers { | ||
developer { | ||
id.set("erfangholami") | ||
name.set("Erfan Gholami") | ||
url.set("https://github.com/erfangholami/") | ||
} | ||
} | ||
scm { | ||
url.set("https://github.com/pondersource/Android-Solid-Services/") | ||
connection.set("scm:git:git://github.com/pondersource/Android-Solid-Services.git") | ||
developerConnection.set("scm:git:ssh://[email protected]/pondersource/Android-Solid-Services.git") | ||
} | ||
} | ||
|
||
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL) | ||
signAllPublications() | ||
} | ||
|
||
/* | ||
publishing { | ||
publications { | ||
register<MavenPublication>("release") { | ||
groupId = "com.pondersource.solidandroidshared" | ||
groupId = "com.pondersource.shared" | ||
artifactId = "shared" | ||
version = "0.2.0" | ||
|
@@ -81,4 +124,4 @@ publishing { | |
} | ||
} | ||
} | ||
} | ||
}*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import org.gradle.kotlin.dsl.from | ||
import com.vanniktech.maven.publish.AndroidSingleVariantLibrary | ||
import com.vanniktech.maven.publish.SonatypeHost | ||
|
||
plugins { | ||
alias(libs.plugins.android.library) | ||
alias(libs.plugins.jetbrains.kotlin.android) | ||
alias(libs.plugins.vanniktech.maven.publish) | ||
`maven-publish` | ||
} | ||
|
||
|
@@ -55,6 +57,45 @@ dependencies { | |
api(project(":Shared")) | ||
} | ||
|
||
mavenPublishing { | ||
configure(AndroidSingleVariantLibrary( | ||
variant = "release", | ||
sourcesJar = true, | ||
publishJavadocJar = true, | ||
)) | ||
coordinates("com.pondersource.solidandroidapi", "solidandroidapi", "0.2.0") | ||
|
||
pom { | ||
name.set("SolidAndroidApi") | ||
description.set("Connecting with Solid server in Android ecosystem for doing authentication, resource management and interacting with data modules.") | ||
inceptionYear.set("2024") | ||
url.set("https://github.com/pondersource/Android-Solid-Services/") | ||
licenses { | ||
license { | ||
name.set("MIT License") | ||
url.set("https://opensource.org/license/mit") | ||
distribution.set("https://opensource.org/license/mit") | ||
} | ||
} | ||
developers { | ||
developer { | ||
id.set("erfangholami") | ||
name.set("Erfan Gholami") | ||
url.set("https://github.com/erfangholami/") | ||
} | ||
} | ||
scm { | ||
url.set("https://github.com/pondersource/Android-Solid-Services/") | ||
connection.set("scm:git:git://github.com/pondersource/Android-Solid-Services.git") | ||
developerConnection.set("scm:git:ssh://[email protected]/pondersource/Android-Solid-Services.git") | ||
} | ||
} | ||
|
||
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL) | ||
signAllPublications() | ||
} | ||
|
||
/* | ||
publishing { | ||
publications { | ||
register<MavenPublication>("release") { | ||
|
@@ -67,4 +108,4 @@ publishing { | |
} | ||
} | ||
} | ||
} | ||
}*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
import com.vanniktech.maven.publish.AndroidSingleVariantLibrary | ||
import com.vanniktech.maven.publish.SonatypeHost | ||
|
||
plugins { | ||
alias(libs.plugins.android.library) | ||
alias(libs.plugins.jetbrains.kotlin.android) | ||
alias(libs.plugins.vanniktech.maven.publish) | ||
`maven-publish` | ||
} | ||
|
||
|
@@ -80,6 +84,45 @@ dependencies { | |
api(project(":Shared")) | ||
} | ||
|
||
mavenPublishing { | ||
configure(AndroidSingleVariantLibrary( | ||
variant = "release", | ||
sourcesJar = true, | ||
publishJavadocJar = true, | ||
)) | ||
coordinates("com.pondersource.solidandroidclient", "solidandroidclient", "0.2.0") | ||
|
||
pom { | ||
name.set("SolidAndroidClien t") | ||
description.set("An Android library to connect to Solid pods without authentication and based on connecting to Android Solid Services app as a single source of truth.") | ||
inceptionYear.set("2024") | ||
url.set("https://github.com/pondersource/Android-Solid-Services/") | ||
licenses { | ||
license { | ||
name.set("MIT License") | ||
url.set("https://opensource.org/license/mit") | ||
distribution.set("https://opensource.org/license/mit") | ||
} | ||
} | ||
developers { | ||
developer { | ||
id.set("erfangholami") | ||
name.set("Erfan Gholami") | ||
url.set("https://github.com/erfangholami/") | ||
} | ||
} | ||
scm { | ||
url.set("https://github.com/pondersource/Android-Solid-Services/") | ||
connection.set("scm:git:git://github.com/pondersource/Android-Solid-Services.git") | ||
developerConnection.set("scm:git:ssh://[email protected]/pondersource/Android-Solid-Services.git") | ||
} | ||
} | ||
|
||
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL) | ||
signAllPublications() | ||
} | ||
|
||
/* | ||
publishing { | ||
publications { | ||
register<MavenPublication>("release") { | ||
|
@@ -92,4 +135,4 @@ publishing { | |
} | ||
} | ||
} | ||
} | ||
}*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters