Bump library versions and update their README

This commit is contained in:
Torsten Grote 2023-02-13 13:21:47 -03:00 committed by Hans-Christoph Steiner
parent 95064bdbe4
commit 2500915a03
8 changed files with 22 additions and 14 deletions

View File

@ -22,3 +22,5 @@ POM_SCM_DEV_CONNECTION=scm:git:ssh://git@gitlab.com:fdroid/fdroidclient.git
POM_DEVELOPER_ID=grote
POM_DEVELOPER_NAME=Torsten Grote
POM_DEVELOPER_URL=https://github.com/grote/
SONATYPE_AUTOMATIC_RELEASE=true

View File

@ -7,7 +7,7 @@ Note that all libraries are still in alpha stage.
While they work, their public APIs are still subject to change.
* [download](libs/download) library for handling (multi-platform) HTTP download
of repository indexes and APKs
of repository indexes, APKs and image assets
* [index](libs/index) library for parsing/verifying/creating repository indexes
* [database](libs/database) library to store and query F-Droid related information
in a Room-based database on Android
@ -71,7 +71,7 @@ and replace `[version]` with the [latest version](libs/database/gradle.propertie
You can list available gradle tasks by running the following command in the project root.
./gradlew :download:tasks
./gradlew :libs:download:tasks
Replace `download` with the name of the library you want to view tasks for.
@ -80,8 +80,8 @@ Replace `download` with the name of the library you want to view tasks for.
Bump version number in the library's [`gradle.properties`](gradle.properties),
ensure you didn't break a public API and run:
./gradlew :download:check :index:connectedCheck
./gradlew :download:publish
./gradlew :libs:download:check :libs:download:connectedCheck
./gradlew :libs:download:publish
./gradlew closeAndReleaseRepository
Replace `download` with the name of the library you want to publish.

View File

@ -4,6 +4,7 @@ plugins {
id 'kotlin-kapt'
id 'org.jetbrains.dokka'
id "org.jlleitschuh.gradle.ktlint" version "10.2.1"
id 'com.vanniktech.maven.publish'
}
android {
@ -95,6 +96,10 @@ dependencies {
androidTestImplementation 'commons-io:commons-io:2.6'
}
signing {
useGpgCmd()
}
import org.jetbrains.dokka.gradle.DokkaTask
tasks.withType(DokkaTask).configureEach {
pluginsMapConfiguration.set(

View File

@ -0,0 +1,7 @@
POM_ARTIFACT_ID=database
VERSION_NAME=0.1.0
POM_NAME=F-Droid database library
POM_DESCRIPTION=An Android library to store F-Droid related info in Room such as repositories, apps and their versions.
POM_INCEPTION_YEAR=2023
POM_URL=https://gitlab.com/fdroid/fdroidclient/-/tree/master/libs/database

View File

@ -6,9 +6,6 @@ plugins {
id 'com.vanniktech.maven.publish'
}
group = 'org.fdroid'
version = '0.1'
kotlin {
android {
compilations.all {

View File

@ -1,7 +1,7 @@
POM_ARTIFACT_ID=download
VERSION_NAME=0.1.0
VERSION_NAME=0.1.1
POM_NAME=F-Droid download library
POM_DESCRIPTION=A Kotlin multi-platform library to download F-Droid related files via HTTP.
POM_INCEPTION_YEAR=2022
POM_URL=https://gitlab.com/fdroid/fdroidclient/-/tree/master/download
POM_URL=https://gitlab.com/fdroid/fdroidclient/-/tree/master/libs/download

View File

@ -7,9 +7,6 @@ plugins {
id 'com.vanniktech.maven.publish'
}
group = 'org.fdroid'
version = '0.1'
kotlin {
android {
compilations.all {

View File

@ -1,7 +1,7 @@
POM_ARTIFACT_ID=index
VERSION_NAME=0.1.0
VERSION_NAME=0.1.1
POM_NAME=F-Droid index library
POM_DESCRIPTION=A Kotlin multi-platform library to parse version 1 and 2 of the F-Droid index format.
POM_INCEPTION_YEAR=2022
POM_URL=https://gitlab.com/fdroid/fdroidclient/-/tree/master/index
POM_URL=https://gitlab.com/fdroid/fdroidclient/-/tree/master/libs/index