Skip to content

Commit

Permalink
Merge branch 'master' into ak/date_index_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jingtang10 authored Apr 19, 2021
2 parents 44365c2 + 1e9fe1c commit 268b78c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
21 changes: 9 additions & 12 deletions datacapture/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,21 @@ plugins {
id(Plugins.BuildPlugins.mavenPublish)
}

val group = "com.google.android.fhir"
val version = "0.1.0-alpha02"

tasks {
val sourcesJar by creating(Jar::class) {
archiveClassifier.set("sources")
from(android.sourceSets.getByName("main").java.srcDirs)
}
artifacts { add("archives", sourcesJar) }
}

afterEvaluate {
publishing {
publications {
register("release", MavenPublication::class) {
from(components["release"])
artifactId = "data-capture"
// Also publish source code for developers" convenience
groupId = "com.google.android.fhir"
version = "0.1.0-alpha02"
// Also publish source code for developers' convenience
artifact(
tasks.create<Jar>("androidSourcesJar") {
archiveClassifier.set("sources")
from(android.sourceSets.getByName("main").java.srcDirs)
}
)
pom {
name.set("Android FHIR Structured Data Capture Library")
licenses {
Expand Down
15 changes: 9 additions & 6 deletions engine/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,21 @@ plugins {
id(Plugins.BuildPlugins.mavenPublish)
}

val artifactGroup = "com.google.android.fhir"
val artifactVersion = "0.1.0-alpha01"

afterEvaluate {
publishing {
publications {
register("release", MavenPublication::class) {
from(components["release"])
artifactId = "engine"
groupId = artifactGroup
version = artifactVersion
// Also publish source code for developers" convenience
groupId = "com.google.android.fhir"
version = "0.1.0-alpha01"
// Also publish source code for developers' convenience
artifact(
tasks.create<Jar>("androidSourcesJar") {
archiveClassifier.set("sources")
from(android.sourceSets.getByName("main").java.srcDirs)
}
)
pom {
name.set("Android FHIR Engine Library")
licenses {
Expand Down

0 comments on commit 268b78c

Please sign in to comment.