100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Fix Gradle space-assignment deprecation warnings (#1630)
Wouter Born1b495af46b8b
diff --git a/agent/build.gradle b/agent/build.gradleindex 6c77daa21..2bb887aa1 100644--- a/agent/build.gradle+++ b/agent/build.gradle@@ -91,8 +91,8 @@ publishing {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")diff --git a/container/build.gradle b/container/build.gradleindex b0585bca0..ba04a6f79 100644--- a/container/build.gradle+++ b/container/build.gradle@@ -100,8 +100,8 @@ publishing {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")diff --git a/manager/build.gradle b/manager/build.gradleindex 2ca39b5ce..bcc441b2f 100644--- a/manager/build.gradle+++ b/manager/build.gradle@@ -159,8 +159,8 @@ publishing {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")diff --git a/model-util/build.gradle b/model-util/build.gradleindex ab045e329..a16e42d38 100644--- a/model-util/build.gradle+++ b/model-util/build.gradle@@ -70,8 +70,8 @@ publishing {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")diff --git a/model/build.gradle b/model/build.gradleindex 6e0841469..9e308e5ad 100644--- a/model/build.gradle+++ b/model/build.gradle@@ -92,8 +92,8 @@ publishing {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")diff --git a/project.gradle b/project.gradleindex afd628ce5..801f2b601 100644--- a/project.gradle+++ b/project.gradle@@ -106,7 +106,7 @@ if (project == rootProject) {idea.project.settings {compiler {javac {- javacAdditionalOptions "-parameters"+ javacAdditionalOptions = "-parameters"}}runConfigurations {@@ -151,10 +151,10 @@ repositories {}mavenCentral()maven {- url "https://pkgs.dev.azure.com/OpenRemote/OpenRemote/_packaging/OpenRemote/maven/v1"+ url = "https://pkgs.dev.azure.com/OpenRemote/OpenRemote/_packaging/OpenRemote/maven/v1"}maven {- url "https://s01.oss.sonatype.org/content/repositories/snapshots"+ url = "https://s01.oss.sonatype.org/content/repositories/snapshots"}}@@ -166,8 +166,8 @@ apply plugin: 'idea'// Use the same output directories in IDE as in gradleidea {module {- outputDir file('build/classes/main')- testOutputDir file('build/classes/test')+ outputDir = file('build/classes/main')+ testOutputDir = file('build/classes/test')excludeDirs += file(".node")excludeDirs += file("node_modules")excludeDirs += file("dist")diff --git a/test/build.gradle b/test/build.gradleindex d34e3e790..8cd089c69 100644--- a/test/build.gradle+++ b/test/build.gradle@@ -46,23 +46,27 @@ test {testLogging {// set options for log level LIFECYCLE- events TestLogEvent.FAILED,+ events = [+ TestLogEvent.FAILED,TestLogEvent.PASSED,TestLogEvent.SKIPPED- exceptionFormat TestExceptionFormat.FULL- showExceptions true- showCauses true- showStackTraces true+ ]+ exceptionFormat = TestExceptionFormat.FULL+ showExceptions = true+ showCauses = true+ showStackTraces = true// set options for log level DEBUG and INFOdebug {- events TestLogEvent.STARTED,+ events = [+ TestLogEvent.STARTED,TestLogEvent.FAILED,TestLogEvent.PASSED,TestLogEvent.SKIPPED,TestLogEvent.STANDARD_OUT,TestLogEvent.STANDARD_ERROR- exceptionFormat TestExceptionFormat.FULL+ ]+ exceptionFormat = TestExceptionFormat.FULL}info.events = debug.eventsinfo.exceptionFormat = debug.exceptionFormat@@ -124,8 +128,8 @@ publishing {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")diff --git a/ui/app/console_loader/build.gradle b/ui/app/console_loader/build.gradleindex 867826d43..7364d902b 100644--- a/ui/app/console_loader/build.gradle+++ b/ui/app/console_loader/build.gradle@@ -51,8 +51,8 @@ publishing {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")diff --git a/ui/app/insights/build.gradle b/ui/app/insights/build.gradleindex 31f6cb79c..61435113c 100644--- a/ui/app/insights/build.gradle+++ b/ui/app/insights/build.gradle@@ -51,8 +51,8 @@ publishing {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")diff --git a/ui/app/manager/build.gradle b/ui/app/manager/build.gradleindex b56bd221e..9021fa33f 100644--- a/ui/app/manager/build.gradle+++ b/ui/app/manager/build.gradle@@ -51,8 +51,8 @@ publishing {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")diff --git a/ui/app/shared/build.gradle b/ui/app/shared/build.gradleindex 1d1afaaea..8b46ca340 100644--- a/ui/app/shared/build.gradle+++ b/ui/app/shared/build.gradle@@ -51,8 +51,8 @@ publishing {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")diff --git a/ui/app/swagger/build.gradle b/ui/app/swagger/build.gradleindex f6d0c085b..af8fd8450 100644--- a/ui/app/swagger/build.gradle+++ b/ui/app/swagger/build.gradle@@ -59,8 +59,8 @@ publishing {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")