Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 0 additions & 78 deletions GenericApp/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -53,11 +51,6 @@ android {
}

namespace = 'io.openremote.app'

publishing {
singleVariant('release') {
}
}
}

kotlin {
Expand All @@ -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)
}
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
Loading