Skip to content

Commit

Permalink
add maven publish in form, commons, program rules, mps and ui components
Browse files Browse the repository at this point in the history
  • Loading branch information
andresmr committed Mar 22, 2024
1 parent 79b77b4 commit b54d27f
Show file tree
Hide file tree
Showing 10 changed files with 80 additions and 2 deletions.
1 change: 1 addition & 0 deletions commons/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
kotlin("android")
kotlin("kapt")
id("kotlin-parcelize")
id("maven-publish-conventions")
}

apply(from = "${project.rootDir}/jacoco/jacoco.gradle.kts")
Expand Down
15 changes: 15 additions & 0 deletions commons/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
VERSION_NAME=1.0-SNAPSHOT
GROUP=org.hisp.dhis.mobile
POM_NAME=Android commons library
POM_ARTIFACT_ID=commons
POM_PACKAGING=aar
POM_DESCRIPTION=DHIS2 Android commons library
POM_URL=https://github.com/dhis2/dhis2-android-capture-app
POM_SCM_URL=https://github.com/dhis2/dhis2-android-capture-app
POM_SCM_CONNECTION=scm:git:git://github.com/dhis2/dhis2-android-capture-app.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]/dhis2/dhis2-android-capture-app.git
POM_LICENCE_NAME=BSD
POM_LICENCE_URL=https://opensource.org/licenses/BSD-3-Clause
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=DHIS 2
POM_DEVELOPER_NAME=DHIS 2
1 change: 1 addition & 0 deletions dhis2-mobile-program-rules/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id("com.android.library")
kotlin("android")
id("maven-publish-conventions")
}

apply(from = "${project.rootDir}/jacoco/jacoco.gradle.kts")
Expand Down
15 changes: 15 additions & 0 deletions dhis2-mobile-program-rules/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
VERSION_NAME=1.0-SNAPSHOT
GROUP=org.hisp.dhis.mobile
POM_NAME=Android rules library
POM_ARTIFACT_ID=rules
POM_PACKAGING=aar
POM_DESCRIPTION=DHIS2 Android rules library
POM_URL=https://github.com/dhis2/dhis2-android-capture-app
POM_SCM_URL=https://github.com/dhis2/dhis2-android-capture-app
POM_SCM_CONNECTION=scm:git:git://github.com/dhis2/dhis2-android-capture-app.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]/dhis2/dhis2-android-capture-app.git
POM_LICENCE_NAME=BSD
POM_LICENCE_URL=https://opensource.org/licenses/BSD-3-Clause
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=DHIS 2
POM_DEVELOPER_NAME=DHIS 2
1 change: 1 addition & 0 deletions dhis2_android_maps/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
id("com.android.library")
kotlin("android")
kotlin("kapt")
id("maven-publish-conventions")
}
apply(from = "${project.rootDir}/jacoco/jacoco.gradle.kts")

Expand Down
15 changes: 15 additions & 0 deletions dhis2_android_maps/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
VERSION_NAME=1.0-SNAPSHOT
GROUP=org.hisp.dhis.mobile
POM_NAME=Android maps library
POM_ARTIFACT_ID=maps
POM_PACKAGING=aar
POM_DESCRIPTION=DHIS2 Android maps library
POM_URL=https://github.com/dhis2/dhis2-android-capture-app
POM_SCM_URL=https://github.com/dhis2/dhis2-android-capture-app
POM_SCM_CONNECTION=scm:git:git://github.com/dhis2/dhis2-android-capture-app.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]/dhis2/dhis2-android-capture-app.git
POM_LICENCE_NAME=BSD
POM_LICENCE_URL=https://opensource.org/licenses/BSD-3-Clause
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=DHIS 2
POM_DEVELOPER_NAME=DHIS 2
1 change: 1 addition & 0 deletions form/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
id("com.android.library")
kotlin("android")
kotlin("kapt")
id("maven-publish-conventions")
}
apply(from = "${project.rootDir}/jacoco/jacoco.gradle.kts")

Expand Down
15 changes: 15 additions & 0 deletions form/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
VERSION_NAME=1.0-SNAPSHOT
GROUP=org.hisp.dhis.mobile
POM_NAME=Android Data Entry library
POM_ARTIFACT_ID=entryform
POM_PACKAGING=aar
POM_DESCRIPTION=DHIS2 Android data entry library
POM_URL=https://github.com/dhis2/dhis2-android-capture-app
POM_SCM_URL=https://github.com/dhis2/dhis2-android-capture-app
POM_SCM_CONNECTION=scm:git:git://github.com/dhis2/dhis2-android-capture-app.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]/dhis2/dhis2-android-capture-app.git
POM_LICENCE_NAME=BSD
POM_LICENCE_URL=https://opensource.org/licenses/BSD-3-Clause
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=DHIS 2
POM_DEVELOPER_NAME=DHIS 2
3 changes: 1 addition & 2 deletions ui-components/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
kotlin("android")
id("kotlin-parcelize")
id("kotlinx-serialization")
id("maven-publish-conventions")
}
apply(from = "${project.rootDir}/jacoco/jacoco.gradle.kts")

Expand All @@ -12,7 +13,6 @@ android {

defaultConfig {
minSdk = libs.versions.minSdk.get().toInt()
targetSdk = libs.versions.sdk.get().toInt()

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand Down Expand Up @@ -53,7 +53,6 @@ android {
}

dependencies {

implementation(libs.bundles.uicomponents.implementation)
api(libs.bundles.uicomponents.api)
debugApi(libs.bundles.uicomponents.debugapi)
Expand Down
15 changes: 15 additions & 0 deletions ui-components/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
VERSION_NAME=1.0-SNAPSHOT
GROUP=org.hisp.dhis.mobile
POM_NAME=Android legacy ui Library
POM_ARTIFACT_ID=ui-legacy
POM_PACKAGING=aar
POM_DESCRIPTION=DHIS2 Android legacy ui Library
POM_URL=https://github.com/dhis2/dhis2-android-capture-app
POM_SCM_URL=https://github.com/dhis2/dhis2-android-capture-app
POM_SCM_CONNECTION=scm:git:git://github.com/dhis2/dhis2-android-capture-app.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]/dhis2/dhis2-android-capture-app.git
POM_LICENCE_NAME=BSD
POM_LICENCE_URL=https://opensource.org/licenses/BSD-3-Clause
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=DHIS 2
POM_DEVELOPER_NAME=DHIS 2

0 comments on commit b54d27f

Please sign in to comment.