From 4d549eefbbcad4c447a495fe42d98724b2342122 Mon Sep 17 00:00:00 2001 From: Dmytro Dashenkov Date: Fri, 4 Sep 2020 13:30:26 +0300 Subject: [PATCH 01/28] Update config --- .../gradle/internal/CheckVersionIncrement.kt | 25 ++++++++++++----- .../kotlin/io/spine/gradle/internal/deps.kt | 28 ++++++++++++++----- config | 2 +- 3 files changed, 40 insertions(+), 15 deletions(-) diff --git a/buildSrc/src/main/kotlin/io/spine/gradle/internal/CheckVersionIncrement.kt b/buildSrc/src/main/kotlin/io/spine/gradle/internal/CheckVersionIncrement.kt index 45e02672d6..8f33cde905 100644 --- a/buildSrc/src/main/kotlin/io/spine/gradle/internal/CheckVersionIncrement.kt +++ b/buildSrc/src/main/kotlin/io/spine/gradle/internal/CheckVersionIncrement.kt @@ -27,6 +27,7 @@ import org.gradle.api.GradleException import org.gradle.api.Project import org.gradle.api.tasks.Input import org.gradle.api.tasks.TaskAction +import java.io.FileNotFoundException import java.net.URL /** @@ -52,13 +53,13 @@ open class CheckVersionIncrement : DefaultTask() { val artifact = "${project.artifactPath()}/${MavenMetadata.FILE_NAME}" val repoUrl = repository.releases val metadata = fetch(repoUrl, artifact) - val versions = metadata.versioning.versions - val versionExists = versions.contains(version) + val versions = metadata?.versioning?.versions + val versionExists = versions?.contains(version) ?: false if (versionExists) { throw GradleException(""" Version `$version` is already published to maven repository `$repoUrl`. Try incrementing the library version. - All available versions are: ${versions.joinToString(separator = ", ")}. + All available versions are: ${versions?.joinToString(separator = ", ")}. To disable this check, run Gradle with `-x $name`. """.trimIndent() @@ -66,7 +67,7 @@ open class CheckVersionIncrement : DefaultTask() { } } - private fun fetch(repository: String, artifact: String): MavenMetadata { + private fun fetch(repository: String, artifact: String): MavenMetadata? { val url = URL("$repository/$artifact") return MavenMetadata.fetchAndParse(url) } @@ -94,9 +95,19 @@ private data class MavenMetadata(var versioning: Versioning = Versioning()) { mapper.configure(FAIL_ON_UNKNOWN_PROPERTIES, false) } - fun fetchAndParse(url: URL): MavenMetadata { - val metadata = mapper.readValue(url, MavenMetadata::class.java) - return metadata + /** + * Fetches the metadata for the repository and parses the document. + * + *

If the document could not be found, assumes that the module was never + * released and thus has no metadata. + */ + fun fetchAndParse(url: URL): MavenMetadata? { + return try { + val metadata = mapper.readValue(url, MavenMetadata::class.java) + metadata + } catch (e: FileNotFoundException) { + null + } } } } diff --git a/buildSrc/src/main/kotlin/io/spine/gradle/internal/deps.kt b/buildSrc/src/main/kotlin/io/spine/gradle/internal/deps.kt index 6846093b1f..3e9250e751 100644 --- a/buildSrc/src/main/kotlin/io/spine/gradle/internal/deps.kt +++ b/buildSrc/src/main/kotlin/io/spine/gradle/internal/deps.kt @@ -70,8 +70,8 @@ object Versions { val checkerFramework = "3.3.0" val errorProne = "2.3.4" val errorProneJavac = "9+181-r4173-1" // taken from here: https://github.com/tbroyer/gradle-errorprone-plugin/blob/v0.8/build.gradle.kts - val errorPronePlugin = "1.1.1" - val pmd = "6.20.0" + val errorPronePlugin = "1.2.1" + val pmd = "6.24.0" val checkstyle = "8.29" val protobufPlugin = "0.8.12" val appengineApi = "1.9.79" @@ -94,14 +94,19 @@ object Versions { val javaPoet = "1.12.1" val autoService = "1.0-rc6" val autoCommon = "0.10" - val jackson = "2.9.10.4" + val jackson = "2.9.10.5" val animalSniffer = "1.18" val apiguardian = "1.1.0" + val javaxAnnotation = "1.3.2" + val klaxon = "5.4" + val ouathJwt = "3.10.3" + val bouncyCastlePkcs = "1.66" + val assertK = "0.22" /** * Version of the SLF4J library. * - * Spine used to log with SLF4J. Now we use Flogger. Whenever a coice comes up, we recommend to + * Spine used to log with SLF4J. Now we use Flogger. Whenever a choice comes up, we recommend to * use the latter. * * Some third-party libraries may clash with different versions of the library. Thus, we specify @@ -158,12 +163,20 @@ object Build { object AutoService { val annotations = "com.google.auto.service:auto-service-annotations:${Versions.autoService}" - val processor = "com.google.auto.service:auto-service:${Versions.autoService}" + val processor = "com.google.auto.service:auto-service:${Versions.autoService}" } } object Gen { - val javaPoet = "com.squareup:javapoet:${Versions.javaPoet}" + val javaPoet = "com.squareup:javapoet:${Versions.javaPoet}" + val javaxAnnotation = "javax.annotation:javax.annotation-api:${Versions.javaxAnnotation}" +} + +object Publishing { + val klaxon = "com.beust:klaxon:${Versions.klaxon}" + val oauthJwt = "com.auth0:java-jwt:${Versions.ouathJwt}" + val bouncyCastlePkcs = "org.bouncycastle:bcpkix-jdk15on:${Versions.bouncyCastlePkcs}" + val assertK = "com.willowtreeapps.assertk:assertk-jvm:${Versions.assertK}" } object Grpc { @@ -227,7 +240,7 @@ object Test { "com.google.truth.extensions:truth-proto-extension:${Versions.truth}" ) @Deprecated("Use Flogger over SLF4J.", - replaceWith = ReplaceWith("Deps.runtime.floggerSystemBackend")) + replaceWith = ReplaceWith("Deps.runtime.floggerSystemBackend")) @Suppress("DEPRECATION") // Version of SLF4J. val slf4j = "org.slf4j:slf4j-jdk14:${Versions.slf4j}" } @@ -273,6 +286,7 @@ object Deps { val test = Test val versions = Versions val scripts = Scripts + val publishing = Publishing } object DependencyResolution { diff --git a/config b/config index 47048aed2a..a92f5382c8 160000 --- a/config +++ b/config @@ -1 +1 @@ -Subproject commit 47048aed2a242a17c959577515b0548eb58fb984 +Subproject commit a92f5382c816462dcfe7b4dc9aaab41aafc003ca From 4235d78e4baf9d569ce2533260862b7f482a5643 Mon Sep 17 00:00:00 2001 From: Dmytro Dashenkov Date: Fri, 4 Sep 2020 13:36:43 +0300 Subject: [PATCH 02/28] Update Gradle --- gradle/wrapper/gradle-wrapper.jar | Bin 58694 -> 58910 bytes gradle/wrapper/gradle-wrapper.properties | 2 +- gradlew | 2 ++ gradlew.bat | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 490fda8577df6c95960ba7077c43220e5bb2c0d9..62d4c053550b91381bbd28b1afc82d634bf73a8a 100644 GIT binary patch delta 6447 zcmY*dbyQSczlH%shY+L(kQ}C6ise@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%|K_$o)V`D@gVs>@bSmXVID_PQXp znfja8U01+t3V!o{8ZKi~G@#q$KrAH-Ks3$G{Qo}H|N1ijJMsgZDgOmM1O$Fi0>0CX zpbAzXhYbP@PV;~=*nn7eQGjoT2b9nGFNg-PpHT$a@?7JL7I&pmkmclS7#Y#zRYg_`D0h47O z&|%88tXNh8{Yk$@@*HA-B9r#tDkY$>!U#Ie`j1TupjRn@;(ykyyld-zJ{@qm!UG~I zxR#ZxV8CEi5JXV?ANc~bS9*;MYtkTvifc5iynmg!XpIr%SN*R#E?|3&2QVs~N02d=N!1;GdfNGr)gc$|K#-y*M=Ra9B4#cmk-naoQuS*cWnE3C4 F{|nTN-B$nr diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a4f0001d20..12d38de6a4 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.4.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew index 2fe81a7d95..fbd7c51583 100755 --- a/gradlew +++ b/gradlew @@ -82,6 +82,7 @@ esac CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + # Determine the Java command to use to start the JVM. if [ -n "$JAVA_HOME" ] ; then if [ -x "$JAVA_HOME/jre/sh/java" ] ; then @@ -129,6 +130,7 @@ fi if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then APP_HOME=`cygpath --path --mixed "$APP_HOME"` CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` # We build the pattern for arguments to be converted via cygpath diff --git a/gradlew.bat b/gradlew.bat index 62bd9b9cce..5093609d51 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -84,6 +84,7 @@ set CMD_LINE_ARGS=%* set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + @rem Execute Gradle "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% From b1e3a3d3b1f7c06c98c7d71a701466935e0f8100 Mon Sep 17 00:00:00 2001 From: Dmytro Dashenkov Date: Fri, 4 Sep 2020 13:43:53 +0300 Subject: [PATCH 03/28] Fix path to script --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ec7c69ba07..414abea1db 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,7 +35,7 @@ script: deploy: skip_cleanup: false provider: script - script: bash config/publish-artifacts.sh + script: bash config/scripts/publish-artifacts.sh on: branch: master condition: $TRAVIS_PULL_REQUEST == "false" From 8b23b6c4ecb9e0962e5d3152ed952fe15600350e Mon Sep 17 00:00:00 2001 From: Dmytro Dashenkov Date: Fri, 4 Sep 2020 13:44:13 +0300 Subject: [PATCH 04/28] Add contribution guidelines --- CONTRIBUTING.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000000..2185ef6d5e --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,37 @@ +How to contribute +================== +Thank you for wanting to contribute to Spine. The following links will help you get started: + * [Wiki home][wiki-home] — the home of the framework developer's documentation. + * [Getting started with Spine in Java][quick-start] — this guide will walk you through + a minimal client-server “Hello World!” application in Java. + * [Introduction][docs-intro] — this section of the Spine Documentation will help you understand + the foundation of the framework. + +Pull requests +------------- +The work on an improvement starts with creating an issue that describes a bug or a feature. The issue will be used for communications on the proposed improvements. +If code changes are going to be introduced, the issue should also have a link to the corresponding Pull Request. + +Code contributions should: + * Be accompanied by tests. + * Be licensed under the Apache v2.0 license with the appropriate copyright header for each file. + * Formatted according to the code style. See [Wiki home][wiki-home] for the links to + style guides of the programming languages used in the framework. + +Contributor License Agreement +----------------------------- +Contributions to the code of Spine Event Engine framework and its libraries must be accompanied by +Contributor License Agreement (CLA). + + * If you are an individual writing original source code and you're sure you own + the intellectual property, then you'll need to sign an individual CLA. + + * If you work for a company which wants you to contribute your work, + then an authorized person from your company will need to sign a corporate CLA. + +Please [contact us][legal-email] for arranging the paper formalities. + +[wiki-home]: https://github.com/SpineEventEngine/SpineEventEngine.github.io/wiki +[quick-start]: https://spine.io/docs/quick-start +[docs-intro]: https://spine.io/docs/introduction +[legal-email]: mailto:legal@teamdev.com From b28f5e7686327d05f17ebb940178dded7bf7347d Mon Sep 17 00:00:00 2001 From: Dmytro Dashenkov Date: Fri, 4 Sep 2020 14:10:40 +0300 Subject: [PATCH 05/28] Update copyright --- build.gradle.kts | 2 +- client/build.gradle.kts | 2 +- client/lib/actor_request_factory.dart | 2 +- client/lib/backend_client.dart | 2 +- client/lib/command_factory.dart | 2 +- client/lib/firebase_client.dart | 2 +- client/lib/query_factory.dart | 2 +- client/lib/rest_firebase_client.dart | 2 +- client/lib/spine_client.dart | 2 +- client/lib/src/any_packer.dart | 2 +- client/lib/src/http_endpoint.dart | 2 +- client/lib/src/json.dart | 2 +- client/lib/src/known_types.dart | 2 +- client/lib/src/url.dart | 2 +- client/lib/src/validate.dart | 2 +- client/lib/subscription.dart | 2 +- client/lib/target_builder.dart | 2 +- client/lib/time.dart | 2 +- client/lib/topic_factory.dart | 2 +- client/lib/uuids.dart | 2 +- client/lib/web_firebase_client.dart | 2 +- client/test/actor_request_factory_test.dart | 2 +- client/test/any_packer_test.dart | 2 +- client/test/json_test.dart | 2 +- client/test/time_test.dart | 2 +- codegen/bin/main.dart | 2 +- codegen/build.gradle.kts | 2 +- codegen/lib/dart_code_gen.dart | 2 +- codegen/lib/src/bytes_validator_factory.dart | 2 +- codegen/lib/src/constraint_violation.dart | 2 +- codegen/lib/src/enum_validator_factory.dart | 2 +- codegen/lib/src/field_validator_factory.dart | 2 +- codegen/lib/src/imports.dart | 2 +- codegen/lib/src/known_types_factory.dart | 2 +- codegen/lib/src/message_validator_factory.dart | 2 +- codegen/lib/src/number_validator_factory.dart | 2 +- codegen/lib/src/required_field_validation_factory.dart | 2 +- codegen/lib/src/string_validator_factory.dart | 2 +- codegen/lib/src/type.dart | 2 +- codegen/lib/src/validator_factory.dart | 2 +- codegen/test/generation_test.dart | 2 +- codegen/test/validation_test.dart | 2 +- integration-tests/client-test/build.gradle.kts | 2 +- integration-tests/client-test/integration-test/client_test.dart | 2 +- integration-tests/client-test/integration-test/client_test.html | 2 +- integration-tests/client-test/integration-test/endpoints.dart | 2 +- .../client-test/integration-test/firebase_app.dart | 2 +- integration-tests/test-app/build.gradle.kts | 2 +- .../src/main/java/io/spine/web/test/given/Application.java | 2 +- .../main/java/io/spine/web/test/given/PermissiveCorsFilter.java | 2 +- .../src/main/java/io/spine/web/test/given/ProjectAggregate.java | 2 +- .../main/java/io/spine/web/test/given/ProjectRepository.java | 2 +- .../test-app/src/main/java/io/spine/web/test/given/Server.java | 2 +- .../src/main/java/io/spine/web/test/given/TaskAggregate.java | 2 +- .../src/main/java/io/spine/web/test/given/TaskRepository.java | 2 +- .../main/java/io/spine/web/test/given/TestCommandServlet.java | 2 +- .../src/main/java/io/spine/web/test/given/TestQueryServlet.java | 2 +- .../main/java/io/spine/web/test/given/TestSubscribeServlet.java | 2 +- .../io/spine/web/test/given/TestSubscriptionCancelServlet.java | 2 +- .../io/spine/web/test/given/TestSubscriptionKeepUpServlet.java | 2 +- .../src/main/java/io/spine/web/test/given/TidyClient.java | 2 +- .../main/java/io/spine/web/test/given/UserTasksProjection.java | 2 +- .../io/spine/web/test/given/UserTasksProjectionRepository.java | 2 +- .../src/main/java/io/spine/web/test/given/package-info.java | 2 +- settings.gradle.kts | 2 +- 65 files changed, 65 insertions(+), 65 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index fa481aeed5..57e59fa8ed 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/build.gradle.kts b/client/build.gradle.kts index 594b121094..b90b9d4e11 100644 --- a/client/build.gradle.kts +++ b/client/build.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/actor_request_factory.dart b/client/lib/actor_request_factory.dart index 4dec4b9ef5..2ae705c273 100644 --- a/client/lib/actor_request_factory.dart +++ b/client/lib/actor_request_factory.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/backend_client.dart b/client/lib/backend_client.dart index 9afda994fb..5de894833d 100644 --- a/client/lib/backend_client.dart +++ b/client/lib/backend_client.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/command_factory.dart b/client/lib/command_factory.dart index 7a3824f9e3..9faadc221e 100644 --- a/client/lib/command_factory.dart +++ b/client/lib/command_factory.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/firebase_client.dart b/client/lib/firebase_client.dart index f243ec69d3..fd47881c06 100644 --- a/client/lib/firebase_client.dart +++ b/client/lib/firebase_client.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/query_factory.dart b/client/lib/query_factory.dart index 1bdea2df0e..3446e388cf 100644 --- a/client/lib/query_factory.dart +++ b/client/lib/query_factory.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/rest_firebase_client.dart b/client/lib/rest_firebase_client.dart index b083bd299a..228a132dc5 100644 --- a/client/lib/rest_firebase_client.dart +++ b/client/lib/rest_firebase_client.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/spine_client.dart b/client/lib/spine_client.dart index 79c832e190..2a1becc47e 100644 --- a/client/lib/spine_client.dart +++ b/client/lib/spine_client.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/src/any_packer.dart b/client/lib/src/any_packer.dart index c17a6e08e8..3985e9f043 100644 --- a/client/lib/src/any_packer.dart +++ b/client/lib/src/any_packer.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/src/http_endpoint.dart b/client/lib/src/http_endpoint.dart index 40c2f9c577..71e019b5be 100644 --- a/client/lib/src/http_endpoint.dart +++ b/client/lib/src/http_endpoint.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/src/json.dart b/client/lib/src/json.dart index 7c0f4e3d24..4aec161b64 100644 --- a/client/lib/src/json.dart +++ b/client/lib/src/json.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/src/known_types.dart b/client/lib/src/known_types.dart index 20c4aef77f..25d5977ddc 100644 --- a/client/lib/src/known_types.dart +++ b/client/lib/src/known_types.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/src/url.dart b/client/lib/src/url.dart index afc8ad7087..9dd210c316 100644 --- a/client/lib/src/url.dart +++ b/client/lib/src/url.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/src/validate.dart b/client/lib/src/validate.dart index cce2fab41c..faa125479f 100644 --- a/client/lib/src/validate.dart +++ b/client/lib/src/validate.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/subscription.dart b/client/lib/subscription.dart index 0cea0cc512..87f6ec6520 100644 --- a/client/lib/subscription.dart +++ b/client/lib/subscription.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/target_builder.dart b/client/lib/target_builder.dart index fbbc834185..d68983b67f 100644 --- a/client/lib/target_builder.dart +++ b/client/lib/target_builder.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/time.dart b/client/lib/time.dart index 445d50fb86..df42045c7f 100644 --- a/client/lib/time.dart +++ b/client/lib/time.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/topic_factory.dart b/client/lib/topic_factory.dart index 657dc614ae..cbb2ecb1e9 100644 --- a/client/lib/topic_factory.dart +++ b/client/lib/topic_factory.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/uuids.dart b/client/lib/uuids.dart index 51b0be409e..38b9591c4a 100644 --- a/client/lib/uuids.dart +++ b/client/lib/uuids.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/lib/web_firebase_client.dart b/client/lib/web_firebase_client.dart index 6fb69a14f1..f7b1c7f079 100644 --- a/client/lib/web_firebase_client.dart +++ b/client/lib/web_firebase_client.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/test/actor_request_factory_test.dart b/client/test/actor_request_factory_test.dart index 7c6f010128..cbacc712d1 100644 --- a/client/test/actor_request_factory_test.dart +++ b/client/test/actor_request_factory_test.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/test/any_packer_test.dart b/client/test/any_packer_test.dart index 5acc5241db..0fa0e9302b 100644 --- a/client/test/any_packer_test.dart +++ b/client/test/any_packer_test.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/test/json_test.dart b/client/test/json_test.dart index 4faffc6543..9e39ed69fa 100644 --- a/client/test/json_test.dart +++ b/client/test/json_test.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/client/test/time_test.dart b/client/test/time_test.dart index d0484d68c5..b0a4403ec9 100644 --- a/client/test/time_test.dart +++ b/client/test/time_test.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/codegen/bin/main.dart b/codegen/bin/main.dart index ea3a8b661a..625e9ed72f 100644 --- a/codegen/bin/main.dart +++ b/codegen/bin/main.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/codegen/build.gradle.kts b/codegen/build.gradle.kts index aab2a02646..ff892d14fe 100644 --- a/codegen/build.gradle.kts +++ b/codegen/build.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/codegen/lib/dart_code_gen.dart b/codegen/lib/dart_code_gen.dart index 3d2f5e3546..cac197c9e3 100644 --- a/codegen/lib/dart_code_gen.dart +++ b/codegen/lib/dart_code_gen.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/codegen/lib/src/bytes_validator_factory.dart b/codegen/lib/src/bytes_validator_factory.dart index 64856b4ea8..ff055d7ce8 100644 --- a/codegen/lib/src/bytes_validator_factory.dart +++ b/codegen/lib/src/bytes_validator_factory.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/codegen/lib/src/constraint_violation.dart b/codegen/lib/src/constraint_violation.dart index 7d0f68b448..185f8816dd 100644 --- a/codegen/lib/src/constraint_violation.dart +++ b/codegen/lib/src/constraint_violation.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/codegen/lib/src/enum_validator_factory.dart b/codegen/lib/src/enum_validator_factory.dart index cf3c9bef8e..2b449a2edb 100644 --- a/codegen/lib/src/enum_validator_factory.dart +++ b/codegen/lib/src/enum_validator_factory.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/codegen/lib/src/field_validator_factory.dart b/codegen/lib/src/field_validator_factory.dart index 18b93117a8..0a4b072d18 100644 --- a/codegen/lib/src/field_validator_factory.dart +++ b/codegen/lib/src/field_validator_factory.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/codegen/lib/src/imports.dart b/codegen/lib/src/imports.dart index 070d48c92d..63fdf24d35 100644 --- a/codegen/lib/src/imports.dart +++ b/codegen/lib/src/imports.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/codegen/lib/src/known_types_factory.dart b/codegen/lib/src/known_types_factory.dart index eba5743d84..398c68f789 100644 --- a/codegen/lib/src/known_types_factory.dart +++ b/codegen/lib/src/known_types_factory.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/codegen/lib/src/message_validator_factory.dart b/codegen/lib/src/message_validator_factory.dart index cfbdc99037..8b8c229c7b 100644 --- a/codegen/lib/src/message_validator_factory.dart +++ b/codegen/lib/src/message_validator_factory.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/codegen/lib/src/number_validator_factory.dart b/codegen/lib/src/number_validator_factory.dart index d77944c44a..7f14238473 100644 --- a/codegen/lib/src/number_validator_factory.dart +++ b/codegen/lib/src/number_validator_factory.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/codegen/lib/src/required_field_validation_factory.dart b/codegen/lib/src/required_field_validation_factory.dart index 7fdcccad4f..c9025c0b96 100644 --- a/codegen/lib/src/required_field_validation_factory.dart +++ b/codegen/lib/src/required_field_validation_factory.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/codegen/lib/src/string_validator_factory.dart b/codegen/lib/src/string_validator_factory.dart index 834866d18b..f341e30a05 100644 --- a/codegen/lib/src/string_validator_factory.dart +++ b/codegen/lib/src/string_validator_factory.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/codegen/lib/src/type.dart b/codegen/lib/src/type.dart index 3898cd38e2..9293e6801d 100644 --- a/codegen/lib/src/type.dart +++ b/codegen/lib/src/type.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/codegen/lib/src/validator_factory.dart b/codegen/lib/src/validator_factory.dart index df57f20af5..78f74e6fec 100644 --- a/codegen/lib/src/validator_factory.dart +++ b/codegen/lib/src/validator_factory.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/codegen/test/generation_test.dart b/codegen/test/generation_test.dart index eb7e546d9f..77dc473619 100644 --- a/codegen/test/generation_test.dart +++ b/codegen/test/generation_test.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/codegen/test/validation_test.dart b/codegen/test/validation_test.dart index 09ca933670..8d0262088f 100644 --- a/codegen/test/validation_test.dart +++ b/codegen/test/validation_test.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/integration-tests/client-test/build.gradle.kts b/integration-tests/client-test/build.gradle.kts index 45b2d09b13..c82d9ce2c0 100644 --- a/integration-tests/client-test/build.gradle.kts +++ b/integration-tests/client-test/build.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/integration-tests/client-test/integration-test/client_test.dart b/integration-tests/client-test/integration-test/client_test.dart index 90033f8a40..3eeded9d5a 100644 --- a/integration-tests/client-test/integration-test/client_test.dart +++ b/integration-tests/client-test/integration-test/client_test.dart @@ -1,5 +1,5 @@ /* - * Copyright 2019, TeamDev. All rights reserved. + * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following diff --git a/integration-tests/client-test/integration-test/client_test.html b/integration-tests/client-test/integration-test/client_test.html index 88beec7035..5f546ef27f 100644 --- a/integration-tests/client-test/integration-test/client_test.html +++ b/integration-tests/client-test/integration-test/client_test.html @@ -1,5 +1,5 @@