diff --git a/base/src/main/java/io/spine/base/Environment.java b/base/src/main/java/io/spine/base/Environment.java index f1a1ffd077..f9e4805e27 100644 --- a/base/src/main/java/io/spine/base/Environment.java +++ b/base/src/main/java/io/spine/base/Environment.java @@ -115,7 +115,7 @@ public final class Environment { private static final ImmutableList BASE_TYPES = - ImmutableList.of(Tests.type(), Production.type()); + ImmutableList.of(Tests.ENVIRONMENT, Production.ENVIRONMENT); private static final Environment INSTANCE = new Environment(); @@ -224,7 +224,7 @@ private void determineCurrentType() { */ @Deprecated public boolean isTests() { - return is(Tests.type()); + return is(Tests.ENVIRONMENT); } /** @@ -271,7 +271,7 @@ public void setTo(EnvironmentType type) { @Deprecated @VisibleForTesting public void setToTests() { - this.currentEnvType = Tests.type(); + this.currentEnvType = Tests.ENVIRONMENT; Tests.enable(); } @@ -285,7 +285,7 @@ public void setToTests() { @Deprecated @VisibleForTesting public void setToProduction() { - this.currentEnvType = Production.type(); + this.currentEnvType = Production.ENVIRONMENT; Tests.clearTestingEnvVariable(); } diff --git a/base/src/main/java/io/spine/base/EnvironmentType.java b/base/src/main/java/io/spine/base/EnvironmentType.java index 561b34a230..4ae8f4c37b 100644 --- a/base/src/main/java/io/spine/base/EnvironmentType.java +++ b/base/src/main/java/io/spine/base/EnvironmentType.java @@ -20,7 +20,7 @@ package io.spine.base; -import com.google.common.base.Objects; +import com.google.errorprone.annotations.Immutable; /** * A type of environment. @@ -31,7 +31,8 @@ * that their API is consistent with the env types provided by the {@code base} library: * {@link Production}, {@link Tests}. */ -public abstract class EnvironmentType { +@Immutable +public interface EnvironmentType { /** * Returns {@code true} if the underlying system is currently in this environment type. @@ -40,28 +41,5 @@ public abstract class EnvironmentType { * variable may be set for every virtual machine. Application developer may use this type of * knowledge to determine the current environment. */ - protected abstract boolean enabled(); - - /** - * @inheritDoc - * - *

By default, environments types are compared based on their classes. - */ - @Override - public boolean equals(Object obj) { - return this.getClass() - .equals(obj.getClass()); - } - - /** - * @inheritDoc - * - *

By default, adheres to the {@code equals} and {@code hashCode} contract, assuming that - * the implementation of the {@code equals} is the {@linkplain EnvironmentType#equals(Object) - * default one}. - */ - @Override - public int hashCode() { - return Objects.hashCode(getClass()); - } + boolean enabled(); } diff --git a/base/src/main/java/io/spine/base/Production.java b/base/src/main/java/io/spine/base/Production.java index 9f3ea652e9..c2d5ae08cd 100644 --- a/base/src/main/java/io/spine/base/Production.java +++ b/base/src/main/java/io/spine/base/Production.java @@ -28,32 +28,12 @@ *

If the system is not in the {@link Tests} environment, it is in the production environment. */ @Immutable -public final class Production extends EnvironmentType { +public enum Production implements EnvironmentType { - @Override - protected boolean enabled() { - return !Tests.type() - .enabled(); - } - - /** - * Returns the singleton instance. - */ - public static Production type() { - return Singleton.INSTANCE.production; - } + ENVIRONMENT; - private enum Singleton { - - INSTANCE; - - @SuppressWarnings({ - "NonSerializableFieldInSerializableClass", - "PMD.SingularField" /* this field cannot be local */}) - private final Production production; - - Singleton() { - this.production = new Production(); - } + @Override + public boolean enabled() { + return !Tests.ENVIRONMENT.enabled(); } } diff --git a/base/src/main/java/io/spine/base/Tests.java b/base/src/main/java/io/spine/base/Tests.java index 2d55191c64..b2e1e33bcb 100644 --- a/base/src/main/java/io/spine/base/Tests.java +++ b/base/src/main/java/io/spine/base/Tests.java @@ -36,7 +36,9 @@ */ @Immutable @SuppressWarnings("AccessOfSystemProperties" /* is necessary for this class to function */) -public final class Tests extends EnvironmentType { +public enum Tests implements EnvironmentType { + + ENVIRONMENT; /** * The key name of the system property which tells if a code runs under a testing framework. @@ -71,7 +73,7 @@ public final class Tests extends EnvironmentType { * the system property explicitly. */ @Override - protected boolean enabled() { + public boolean enabled() { String testProp = System.getProperty(ENV_KEY_TESTS); if (testProp != null) { testProp = TEST_PROP_PATTERN.matcher(testProp) @@ -99,25 +101,4 @@ static void clearTestingEnvVariable() { static void enable() { System.setProperty(ENV_KEY_TESTS, String.valueOf(true)); } - - /** - * Returns the singleton instance of this class. - */ - public static Tests type() { - return Singleton.INSTANCE.tests; - } - - private enum Singleton { - - INSTANCE; - - @SuppressWarnings({ - "NonSerializableFieldInSerializableClass", - "PMD.SingularField" /* this field cannot be local */}) - private final Tests tests; - - Singleton() { - this.tests = new Tests(); - } - } } diff --git a/base/src/test/java/io/spine/base/EnvironmentTest.java b/base/src/test/java/io/spine/base/EnvironmentTest.java index 9e6422eb88..63f224a6f8 100644 --- a/base/src/test/java/io/spine/base/EnvironmentTest.java +++ b/base/src/test/java/io/spine/base/EnvironmentTest.java @@ -20,6 +20,8 @@ package io.spine.base; +import com.google.errorprone.annotations.Immutable; +import io.spine.base.environment.Staging; import io.spine.testing.UtilityClassTest; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterEach; @@ -30,14 +32,17 @@ import org.junit.jupiter.api.Test; import static com.google.common.truth.Truth.assertThat; +import static io.spine.base.EnvironmentTest.TestRuntime.LOCAL; +import static io.spine.base.EnvironmentTest.TestRuntime.TRAVIS; import static io.spine.base.Tests.ENV_KEY_TESTS; import static org.junit.jupiter.api.Assertions.assertNull; -import static org.junit.jupiter.api.Assertions.assertThrows; @DisplayName("Environment utility class should") @SuppressWarnings("AccessOfSystemProperties") class EnvironmentTest extends UtilityClassTest { + private static final String STAGING_ENV_TYPE_KEY = "io.spine.base.EnvironmentTest.is_staging"; + /* * Environment protection START * @@ -83,11 +88,11 @@ void cleanUp() { @Test @DisplayName("tell that we are under tests if env. variable set to true") void environmentVarTrue() { - Tests tests = Tests.type(); + Tests tests = Tests.ENVIRONMENT; Environment.instance() .setTo(tests); - assertThat(environment.is(Tests.type())).isTrue(); + assertThat(environment.is(Tests.ENVIRONMENT)).isTrue(); } @Test @@ -95,14 +100,14 @@ void environmentVarTrue() { void environmentVar1() { System.setProperty(ENV_KEY_TESTS, "1"); - assertThat(environment.is(Tests.type())).isTrue(); + assertThat(environment.is(Tests.ENVIRONMENT)).isTrue(); } @Test @DisplayName("tell that we are under tests if run under known framework") void underTestFramework() { // As we run this from under JUnit... - assertThat(environment.is(Tests.type())).isTrue(); + assertThat(environment.is(Tests.ENVIRONMENT)).isTrue(); } @Test @@ -110,7 +115,7 @@ void underTestFramework() { void environmentVarUnknownValue() { System.setProperty(ENV_KEY_TESTS, "neitherTrueNor1"); - assertThat(environment.is(Production.type())).isTrue(); + assertThat(environment.is(Production.ENVIRONMENT)).isTrue(); } @Test @@ -127,7 +132,7 @@ void underTestFrameworkDeprecated() { void explicitlySetTrue() { environment.setToTests(); - assertThat(environment.is(Tests.type())).isTrue(); + assertThat(environment.is(Tests.ENVIRONMENT)).isTrue(); } @Test @@ -143,17 +148,17 @@ void inProductionUsingDeprecatedMethod() { @Test @DisplayName("turn tests mode on") void turnTestsOn() { - environment.setTo(Tests.type()); + environment.setTo(Tests.ENVIRONMENT); - assertThat(environment.is(Tests.type())).isTrue(); + assertThat(environment.is(Tests.ENVIRONMENT)).isTrue(); } @Test @DisplayName("turn production mode on") void turnProductionOn() { - environment.setTo(Production.type()); + environment.setTo(Production.ENVIRONMENT); - assertThat(environment.is(Production.type())).isTrue(); + assertThat(environment.is(Production.ENVIRONMENT)).isTrue(); } @Test @@ -162,7 +167,7 @@ void turnProductionOn() { void turnProductionOnUsingDeprecatedMethod() { environment.setToProduction(); - assertThat(environment.is(Production.type())).isTrue(); + assertThat(environment.is(Production.ENVIRONMENT)).isTrue(); } @Test @@ -180,34 +185,34 @@ class CustomEnvTypes { @Test @DisplayName("allow to provide user defined environment types") void provideCustomTypes() { - register(Staging.type(), Local.type()); + register(Staging.ENVIRONMENT, LOCAL); // Now that `Environment` knows about `LOCAL`, it should use it as fallback. - assertThat(environment.is(Local.type())).isTrue(); + assertThat(environment.is(LOCAL)).isTrue(); } @Test @DisplayName("fallback to the `TESTS` environment") void fallBack() { Environment.instance() - .register(Travis.type()); - assertThat(environment.is(Travis.type())).isFalse(); - assertThat(environment.is(Tests.type())).isTrue(); + .register(TRAVIS); + assertThat(environment.is(TRAVIS)).isFalse(); + assertThat(environment.is(Tests.ENVIRONMENT)).isTrue(); } } @Test @DisplayName("detect the current environment correctly using the `type` method") void determineUsingType() { - assertThat(environment.type()).isSameInstanceAs(Tests.type()); + assertThat(environment.type()).isSameInstanceAs(Tests.ENVIRONMENT); } @Test @DisplayName("detect the current custom environment in presence of custom types") void determineUsingTypeInPresenceOfCustom() { - register(Local.type()); + register(LOCAL); - assertThat(environment.type()).isSameInstanceAs(Local.type()); + assertThat(environment.type()).isSameInstanceAs(LOCAL); } private static void register(EnvironmentType... types) { @@ -217,89 +222,22 @@ private static void register(EnvironmentType... types) { } } - static final class Local extends EnvironmentType { + @Immutable + enum TestRuntime implements EnvironmentType { - private Local() { - } + LOCAL(true), + STAGING(String.valueOf(true).equalsIgnoreCase(System.getProperty(STAGING_ENV_TYPE_KEY))), + TRAVIS(false); - @Override - public boolean enabled() { - // `LOCAL` is the default custom env type. It should be used as a fallback. - return true; - } + private final boolean enabled; - public static Local type() { - return Singleton.INSTANCE.local; - } - - private enum Singleton { - - INSTANCE; - - @SuppressWarnings("NonSerializableFieldInSerializableClass") - private final Local local; - - Singleton() { - this.local = new Local(); - } - } - } - - static final class Staging extends EnvironmentType { - - static final String STAGING_ENV_TYPE_KEY = "io.spine.base.EnvironmentTest.is_staging"; - - private Staging() { - } - - public static Staging type() { - return Singleton.INSTANCE.staging; + TestRuntime(boolean enabled) { + this.enabled = enabled; } @Override public boolean enabled() { - return String.valueOf(true) - .equalsIgnoreCase(System.getProperty(STAGING_ENV_TYPE_KEY)); - } - - private enum Singleton { - - INSTANCE; - - @SuppressWarnings("NonSerializableFieldInSerializableClass") - private final Staging staging; - - Singleton() { - this.staging = new Staging(); - } - } - } - - @SuppressWarnings("unused" /* The only variant is used. */) - static final class Travis extends EnvironmentType { - - private Travis() { - } - - @Override - public boolean enabled() { - return false; - } - - public static Travis type() { - return Singleton.INSTANCE.travis; - } - - private enum Singleton { - - INSTANCE; - - @SuppressWarnings("NonSerializableFieldInSerializableClass") - private final Travis travis; - - Singleton() { - this.travis = new Travis(); - } + return enabled; } } } diff --git a/base/src/test/java/io/spine/base/environment/EnvironmentTest.java b/base/src/test/java/io/spine/base/environment/EnvironmentTest.java index 299e6d4ad9..dce10c39f2 100644 --- a/base/src/test/java/io/spine/base/environment/EnvironmentTest.java +++ b/base/src/test/java/io/spine/base/environment/EnvironmentTest.java @@ -41,21 +41,21 @@ void reset() { @DisplayName("allow a custom user type") void allowCustomType() { Environment.instance() - .register(Staging.type()); + .register(Staging.ENVIRONMENT); Staging.enable(); assertThat(Environment.instance() - .is(Staging.type())).isTrue(); + .is(Staging.ENVIRONMENT)).isTrue(); } @Test @DisplayName("fallback to the default type") void fallbackToCustomType() { - Environment.instance().register(Staging.type()); + Environment.instance().register(Staging.ENVIRONMENT); Staging.disable(); - assertThat(Environment.instance().is(Tests.type())).isTrue(); + assertThat(Environment.instance().is(Tests.ENVIRONMENT)).isTrue(); } } diff --git a/base/src/test/java/io/spine/base/environment/Staging.java b/base/src/test/java/io/spine/base/environment/Staging.java index f436b35cdb..901252a9a9 100644 --- a/base/src/test/java/io/spine/base/environment/Staging.java +++ b/base/src/test/java/io/spine/base/environment/Staging.java @@ -28,37 +28,29 @@ * *

This implementations relies on a static {@code boolean} flag for detection. */ -public final class Staging extends EnvironmentType { +@SuppressWarnings({"Immutable", "ImmutableEnumChecker"}) +public enum Staging implements EnvironmentType { - @Override - protected boolean enabled() { - return Singleton.INSTANCE.enabled; - } + ENVIRONMENT; - public static Staging type() { - return Singleton.INSTANCE.staging; + private boolean enabled; + + @Override + public boolean enabled() { + return ENVIRONMENT.enabled; } /** * Brings the underlying system into the staging environment. */ static void enable() { - Singleton.INSTANCE.enabled = true; + ENVIRONMENT.enabled = true; } /** * Brings the underlying system out of the staging environment. */ static void disable() { - Singleton.INSTANCE.enabled = false; - } - - public enum Singleton { - - INSTANCE; - - @SuppressWarnings("NonSerializableFieldInSerializableClass") - private final Staging staging = new Staging(); - private boolean enabled; + ENVIRONMENT.enabled = false; } } diff --git a/license-report.md b/license-report.md index f940bd01bc..a1a166c95a 100644 --- a/license-report.md +++ b/license-report.md @@ -1,6 +1,6 @@ -# Dependencies of `io.spine:spine-base:1.5.14` +# Dependencies of `io.spine:spine-base:1.5.15` ## Runtime 1. **Group:** com.google.code.findbugs **Name:** jsr305 **Version:** 3.0.2 @@ -328,12 +328,12 @@ The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Sat Jun 06 13:18:55 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Jun 08 18:26:32 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:spine-errorprone-checks:1.5.14` +# Dependencies of `io.spine.tools:spine-errorprone-checks:1.5.15` ## Runtime 1. **Group:** com.github.ben-manes.caffeine **Name:** caffeine **Version:** 2.7.0 @@ -773,12 +773,12 @@ This report was generated on **Sat Jun 06 13:18:55 EEST 2020** using [Gradle-Lic The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Sat Jun 06 13:18:59 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Jun 08 18:26:33 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:spine-javadoc-filter:1.5.14` +# Dependencies of `io.spine.tools:spine-javadoc-filter:1.5.15` ## Runtime 1. **Group:** com.google.android **Name:** annotations **Version:** 4.1.1.4 @@ -1156,12 +1156,12 @@ This report was generated on **Sat Jun 06 13:18:59 EEST 2020** using [Gradle-Lic The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Sat Jun 06 13:19:01 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Jun 08 18:26:33 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:spine-javadoc-prettifier:1.5.14` +# Dependencies of `io.spine.tools:spine-javadoc-prettifier:1.5.15` ## Runtime 1. **Group:** com.google.code.findbugs **Name:** jsr305 **Version:** 3.0.2 @@ -1521,12 +1521,12 @@ This report was generated on **Sat Jun 06 13:19:01 EEST 2020** using [Gradle-Lic The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Sat Jun 06 13:19:01 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Jun 08 18:26:34 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:spine-model-compiler:1.5.14` +# Dependencies of `io.spine.tools:spine-model-compiler:1.5.15` ## Runtime 1. **Group:** com.google.code.findbugs **Name:** jsr305 **Version:** 3.0.2 @@ -1902,12 +1902,12 @@ This report was generated on **Sat Jun 06 13:19:01 EEST 2020** using [Gradle-Lic The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Sat Jun 06 13:19:01 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Jun 08 18:26:34 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:spine-mute-logging:1.5.14` +# Dependencies of `io.spine.tools:spine-mute-logging:1.5.15` ## Runtime 1. **Group:** com.google.auto.value **Name:** auto-value-annotations **Version:** 1.6.3 @@ -2281,12 +2281,12 @@ This report was generated on **Sat Jun 06 13:19:01 EEST 2020** using [Gradle-Lic The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Sat Jun 06 13:19:02 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Jun 08 18:26:35 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:spine-plugin-base:1.5.14` +# Dependencies of `io.spine.tools:spine-plugin-base:1.5.15` ## Runtime 1. **Group:** com.google.code.findbugs **Name:** jsr305 **Version:** 3.0.2 @@ -2646,12 +2646,12 @@ This report was generated on **Sat Jun 06 13:19:02 EEST 2020** using [Gradle-Lic The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Sat Jun 06 13:19:02 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Jun 08 18:26:35 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:spine-plugin-testlib:1.5.14` +# Dependencies of `io.spine.tools:spine-plugin-testlib:1.5.15` ## Runtime 1. **Group:** com.google.auto.value **Name:** auto-value-annotations **Version:** 1.6.3 @@ -3065,12 +3065,12 @@ This report was generated on **Sat Jun 06 13:19:02 EEST 2020** using [Gradle-Lic The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Sat Jun 06 13:19:03 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Jun 08 18:26:36 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:spine-proto-dart-plugin:1.5.14` +# Dependencies of `io.spine.tools:spine-proto-dart-plugin:1.5.15` ## Runtime 1. **Group:** com.google.code.findbugs **Name:** jsr305 **Version:** 3.0.2 @@ -3430,12 +3430,12 @@ This report was generated on **Sat Jun 06 13:19:03 EEST 2020** using [Gradle-Lic The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Sat Jun 06 13:19:03 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Jun 08 18:26:36 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:spine-proto-js-plugin:1.5.14` +# Dependencies of `io.spine.tools:spine-proto-js-plugin:1.5.15` ## Runtime 1. **Group:** com.google.code.findbugs **Name:** jsr305 **Version:** 3.0.2 @@ -3795,12 +3795,12 @@ This report was generated on **Sat Jun 06 13:19:03 EEST 2020** using [Gradle-Lic The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Sat Jun 06 13:19:04 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Jun 08 18:26:37 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:spine-protoc-api:1.5.14` +# Dependencies of `io.spine.tools:spine-protoc-api:1.5.15` ## Runtime 1. **Group:** com.google.code.findbugs **Name:** jsr305 **Version:** 3.0.2 @@ -4120,12 +4120,12 @@ This report was generated on **Sat Jun 06 13:19:04 EEST 2020** using [Gradle-Lic The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Sat Jun 06 13:19:04 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Jun 08 18:26:37 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:spine-protoc-plugin:1.5.14` +# Dependencies of `io.spine.tools:spine-protoc-plugin:1.5.15` ## Runtime 1. **Group:** com.google.code.findbugs **Name:** jsr305 **Version:** 3.0.2 @@ -4453,12 +4453,12 @@ This report was generated on **Sat Jun 06 13:19:04 EEST 2020** using [Gradle-Lic The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Sat Jun 06 13:19:05 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Jun 08 18:26:37 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine:spine-testlib:1.5.14` +# Dependencies of `io.spine:spine-testlib:1.5.15` ## Runtime 1. **Group:** com.google.auto.value **Name:** auto-value-annotations **Version:** 1.6.3 @@ -4832,12 +4832,12 @@ This report was generated on **Sat Jun 06 13:19:05 EEST 2020** using [Gradle-Lic The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Sat Jun 06 13:19:05 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Jun 08 18:26:38 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:spine-tool-base:1.5.14` +# Dependencies of `io.spine.tools:spine-tool-base:1.5.15` ## Runtime 1. **Group:** com.google.code.findbugs **Name:** jsr305 **Version:** 3.0.2 @@ -5165,12 +5165,12 @@ This report was generated on **Sat Jun 06 13:19:05 EEST 2020** using [Gradle-Lic The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Sat Jun 06 13:19:06 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). +This report was generated on **Mon Jun 08 18:26:38 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). -# Dependencies of `io.spine.tools:spine-validation-generator:1.5.14` +# Dependencies of `io.spine.tools:spine-validation-generator:1.5.15` ## Runtime 1. **Group:** com.google.code.findbugs **Name:** jsr305 **Version:** 3.0.2 @@ -5498,4 +5498,4 @@ This report was generated on **Sat Jun 06 13:19:06 EEST 2020** using [Gradle-Lic The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Sat Jun 06 13:19:06 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). \ No newline at end of file +This report was generated on **Mon Jun 08 18:26:39 EEST 2020** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE). \ No newline at end of file diff --git a/pom.xml b/pom.xml index 8bde29d651..35f1bdbfa2 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ all modules and does not describe the project structure per-subproject. io.spine spine-base -1.5.14 +1.5.15 2015 @@ -154,7 +154,7 @@ all modules and does not describe the project structure per-subproject. io.spine.tools spine-protoc-plugin - 1.5.14 + 1.5.15 test diff --git a/version.gradle.kts b/version.gradle.kts index dfac331290..823a4d2e0c 100644 --- a/version.gradle.kts +++ b/version.gradle.kts @@ -25,7 +25,7 @@ * as we want to manage the versions in a single source. */ -val SPINE_VERSION = "1.5.14" +val SPINE_VERSION = "1.5.15" project.extra.apply { this["spineVersion"] = SPINE_VERSION