Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ jobs:
- name: Run assemble
if: ${{ !steps.is_main_repo.outputs.value || github.event_name == 'pull_request' }}
run: |
gradle assemble
./gradlew assemble

- name: Run assemble and publish
if: ${{ steps.is_main_repo.outputs.value && github.event_name != 'pull_request' }}
run: |
echo "$KEYSTORE_BASE64" | base64 -d > keystore
gradle assemble publishToSonatype closeAndReleaseSonatypeStagingRepository \
./gradlew assemble publishToSonatype closeAndReleaseSonatypeStagingRepository \
-PsigningKey=$MAVEN_SIGNING_KEY -PsigningPassword=$MAVEN_SIGNING_PASSWORD -PpublishUsername=$MAVEN_USERNAME -PpublishPassword=$MAVEN_PASSWORD \
-PkeystoreKeyAlias=$KEYSTORE_KEY_ALIAS -PkeystoreKeyPassword=$KEYSTORE_KEY_PASSWORD -PkeystoreFile=$PWD/keystore -PkeystorePassword=$KEYSTORE_PASSWORD
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
id: release
run: |
if [ -n "$VERSION_OVERRIDE" ]; then
gradle release -Prelease.forceVersion=${VERSION_OVERRIDE}
./gradlew release -Prelease.forceVersion=${VERSION_OVERRIDE}
else
gradle release -Prelease.versionIncrementer=increment${VERSION_INCREMENT}
./gradlew release -Prelease.versionIncrementer=increment${VERSION_INCREMENT}
fi
env:
VERSION_INCREMENT: ${{ github.event.inputs.VERSION_INCREMENT }}
Expand Down
24 changes: 12 additions & 12 deletions GenericApp/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ plugins {

android {
defaultConfig {
applicationId "io.openremote.app"
minSdkVersion 25
compileSdk 35
targetSdkVersion 35
versionCode 44
versionName version
applicationId = "io.openremote.app"
minSdkVersion = 25
compileSdk = 35
targetSdkVersion = 35
versionCode = 44
versionName = version

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

Expand Down Expand Up @@ -42,19 +42,19 @@ android {
}

buildFeatures {
viewBinding true
viewBinding = true
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = '17'
}

namespace 'io.openremote.app'
namespace = 'io.openremote.app'

publishing {
singleVariant('release') {
Expand Down Expand Up @@ -128,8 +128,8 @@ afterEvaluate {
maven {
if (!version.endsWith('-LOCAL')) {
credentials {
username findProperty("publishUsername")
password findProperty("publishPassword")
username = findProperty("publishUsername")
password = findProperty("publishPassword")
}
}
url = version.endsWith('-LOCAL') ? layout.buildDirectory.dir('repo') : version.endsWith('-SNAPSHOT') ? findProperty("snapshotsRepoUrl") : findProperty("releasesRepoUrl")
Expand Down
18 changes: 9 additions & 9 deletions ORLib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ plugins {
}

android {
namespace 'io.openremote.orlib'
namespace = 'io.openremote.orlib'

defaultConfig {
minSdkVersion 25
compileSdk 35
targetSdkVersion 35
versionCode 1
versionName version
minSdkVersion = 25
compileSdk = 35
targetSdkVersion = 35
versionCode = 1
versionName = version

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand All @@ -35,7 +35,7 @@ android {
}
}
buildFeatures {
viewBinding true
viewBinding = true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
Expand Down Expand Up @@ -129,8 +129,8 @@ afterEvaluate {
maven {
if (!version.endsWith('-LOCAL')) {
credentials {
username findProperty("publishUsername")
password findProperty("publishPassword")
username = findProperty("publishUsername")
password = findProperty("publishPassword")
}
}
url = version.endsWith('-LOCAL') ? layout.buildDirectory.dir('repo') : version.endsWith('-SNAPSHOT') ? findProperty("snapshotsRepoUrl") : findProperty("releasesRepoUrl")
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url = 'https://jitpack.io' }
}
}

Expand Down
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 7 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
248 changes: 248 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading