diff --git a/GenericApp/app/build.gradle b/GenericApp/app/build.gradle index 768d91e..e10df6d 100644 --- a/GenericApp/app/build.gradle +++ b/GenericApp/app/build.gradle @@ -3,8 +3,6 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { alias(libs.plugins.android.application) alias(libs.plugins.google.services) - id 'maven-publish' - id 'signing' } android { @@ -53,11 +51,6 @@ android { } namespace = 'io.openremote.app' - - publishing { - singleVariant('release') { - } - } } kotlin { @@ -82,74 +75,3 @@ dependencies { // Unit testing framework testImplementation libs.junit } - -tasks.register('sourcesJar', Jar) { - from android.sourceSets.main.java.srcDirs - archiveClassifier = 'sources' -} - -afterEvaluate { - publishing { - publications { - release(MavenPublication) { - from components.release - - artifact source: file('build/outputs/apk/release/app-release.apk') - artifact sourcesJar - - group = "io.openremote" - artifactId = "app" - - pom { - name = 'OpenRemote Android Console' - description = 'Provides the Android OpenRemote Console Application' - url = 'https://github.com/openremote/console-android' - licenses { - license { - name = 'GNU Affero General Public License v3.0' - url = 'https://www.gnu.org/licenses/agpl-3.0.en.html' - } - } - developers { - developer { - id = 'developers' - name = 'Developers' - email = 'developers@openremote.io' - organization = 'OpenRemote' - organizationUrl = 'https://openremote.io' - } - } - scm { - connection = 'scm:git:git://github.com/openremote/console-android.git' - developerConnection = 'scm:git:ssh://github.com:openremote/console-android.git' - url = 'https://github.com/openremote/console-android/tree/main' - } - } - } - } - - repositories { - maven { - if (!version.endsWith('-LOCAL')) { - credentials { - username = findProperty("publishUsername") - password = findProperty("publishPassword") - } - } - url = version.endsWith('-LOCAL') ? layout.buildDirectory.dir('repo') : version.endsWith('-SNAPSHOT') ? findProperty("snapshotsRepoUrl") : findProperty("releasesRepoUrl") - } - } - } - - signing { - def signingKey = findProperty("signingKey") - def signingPassword = findProperty("signingPassword") - if (signingKey && signingPassword) { - useInMemoryPgpKeys(signingKey, signingPassword) - sign publishing.publications - signReleasePublication.dependsOn(packageRelease) - } - } - - publishReleasePublicationToMavenLocal.dependsOn(packageRelease) -} diff --git a/README.md b/README.md index e115412..500dda5 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,6 @@ This is the basis of the official OpenRemote Android app and can also be used as Available from: - [Google Play](https://play.google.com/store/apps/details?id=io.openremote.app) -- [Maven Central (`io.openremote:app`)](https://central.sonatype.com/artifact/io.openremote/app) ### `protobuf`