Skip to content

Commit

Permalink
fix: Reinstate generation of AAR (#128)
Browse files Browse the repository at this point in the history
* downgrade com.android.tools.build:gradle to 4.2.2

* reinstate maven publication
  • Loading branch information
gnarea authored Jul 12, 2021
1 parent df532ad commit 91846d2
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,41 @@ ktlint {
verbose = true
android = true
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release

groupId = 'tech.relaycorp'
artifactId = 'awaladroid'

pom {
name.set(rootProject.name)
description.set("High-level library for Android apps implementing Awala endpoints")
url.set("https://github.com/relaycorp/relaynet-endpoint-android")
developers {
developer {
id.set("relaycorp")
name.set("Relaycorp, Inc.")
email.set("[email protected]")
}
}
licenses {
license {
name.set("Apache-2.0")
}
}
scm {
connection.set("scm:git:https://github.com/relaycorp/relaynet-endpoint-android.git")
developerConnection.set(
"scm:git:https://github.com/relaycorp/relaynet-endpoint-android.git"
)
url.set("https://github.com/relaycorp/relaynet-endpoint-android")
}
}
}
}
}
}

0 comments on commit 91846d2

Please sign in to comment.