diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 32a4f04..25a50fb 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,6 +11,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 version: 2 updates: diff --git a/.github/workflows/analyze.yaml b/.github/workflows/analyze.yaml index 0b85a32..121c286 100644 --- a/.github/workflows/analyze.yaml +++ b/.github/workflows/analyze.yaml @@ -11,6 +11,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 name: Run code analysis on: diff --git a/.github/workflows/licence-check.yaml b/.github/workflows/licence-check.yaml index ad62595..83a6fd6 100644 --- a/.github/workflows/licence-check.yaml +++ b/.github/workflows/licence-check.yaml @@ -11,6 +11,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 name: Check license headers on: diff --git a/.github/workflows/scripts/validate-formatting.sh b/.github/workflows/scripts/validate-formatting.sh index d8c0274..b770801 100755 --- a/.github/workflows/scripts/validate-formatting.sh +++ b/.github/workflows/scripts/validate-formatting.sh @@ -12,6 +12,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + set -e if [[ $(git ls-files --modified) ]]; then diff --git a/.github/workflows/test-and-build.yaml b/.github/workflows/test-and-build.yaml index 70ca16b..a16cecf 100644 --- a/.github/workflows/test-and-build.yaml +++ b/.github/workflows/test-and-build.yaml @@ -11,6 +11,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 name: Build samples on: diff --git a/analysis_options.yaml b/analysis_options.yaml index 5a02c6b..dfd14dd 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -11,6 +11,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 include: package:flutter_lints/flutter.yaml diff --git a/android/app/build.gradle b/android/app/build.gradle index 25ab9a3..8bfd41c 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 plugins { id "com.android.application" diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml index 286d1d6..3772590 100644 --- a/android/app/src/debug/AndroidManifest.xml +++ b/android/app/src/debug/AndroidManifest.xml @@ -12,6 +12,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + + SPDX-License-Identifier: Apache-2.0 --> diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 94b27f8..0fff2c2 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -12,6 +12,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + + SPDX-License-Identifier: Apache-2.0 --> diff --git a/android/app/src/main/kotlin/com/example/flutter_maps_samples/MainActivity.kt b/android/app/src/main/kotlin/com/example/flutter_maps_samples/MainActivity.kt index d8ae39d..3bed14b 100644 --- a/android/app/src/main/kotlin/com/example/flutter_maps_samples/MainActivity.kt +++ b/android/app/src/main/kotlin/com/example/flutter_maps_samples/MainActivity.kt @@ -12,6 +12,8 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 */ package com.example.flutter_maps_samples diff --git a/android/app/src/main/res/drawable-v21/launch_background.xml b/android/app/src/main/res/drawable-v21/launch_background.xml index 92faa81..27d29ce 100644 --- a/android/app/src/main/res/drawable-v21/launch_background.xml +++ b/android/app/src/main/res/drawable-v21/launch_background.xml @@ -13,6 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + + SPDX-License-Identifier: Apache-2.0 --> diff --git a/android/app/src/main/res/drawable/launch_background.xml b/android/app/src/main/res/drawable/launch_background.xml index aae9e88..0f0b5ff 100644 --- a/android/app/src/main/res/drawable/launch_background.xml +++ b/android/app/src/main/res/drawable/launch_background.xml @@ -13,6 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + + SPDX-License-Identifier: Apache-2.0 --> diff --git a/android/app/src/main/res/values-night/styles.xml b/android/app/src/main/res/values-night/styles.xml index 7f21334..20038c7 100644 --- a/android/app/src/main/res/values-night/styles.xml +++ b/android/app/src/main/res/values-night/styles.xml @@ -13,6 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + + SPDX-License-Identifier: Apache-2.0 --> diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml index f7d57e6..4438d56 100644 --- a/android/app/src/main/res/values/styles.xml +++ b/android/app/src/main/res/values/styles.xml @@ -13,6 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + + SPDX-License-Identifier: Apache-2.0 --> diff --git a/android/app/src/profile/AndroidManifest.xml b/android/app/src/profile/AndroidManifest.xml index 286d1d6..3772590 100644 --- a/android/app/src/profile/AndroidManifest.xml +++ b/android/app/src/profile/AndroidManifest.xml @@ -12,6 +12,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + + SPDX-License-Identifier: Apache-2.0 --> diff --git a/android/build.gradle b/android/build.gradle index 7b775b3..827f832 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 allprojects { repositories { diff --git a/android/settings.gradle b/android/settings.gradle index d02f8a1..0f92337 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 pluginManagement { def flutterSdkPath = { diff --git a/header_template.txt b/header_template.txt index 89ae213..0c36eb0 100644 --- a/header_template.txt +++ b/header_template.txt @@ -11,3 +11,5 @@ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + +SPDX-License-Identifier: Apache-2.0 \ No newline at end of file diff --git a/ios/Runner/AppDelegate.swift b/ios/Runner/AppDelegate.swift index 50bc0bc..5e6e0e5 100644 --- a/ios/Runner/AppDelegate.swift +++ b/ios/Runner/AppDelegate.swift @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import Flutter import UIKit diff --git a/ios/Runner/Runner-Bridging-Header.h b/ios/Runner/Runner-Bridging-Header.h index 5c1d597..cbe70d4 100644 --- a/ios/Runner/Runner-Bridging-Header.h +++ b/ios/Runner/Runner-Bridging-Header.h @@ -12,6 +12,8 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 */ #import "GeneratedPluginRegistrant.h" diff --git a/lib/main.dart b/lib/main.dart index cf5695c..1162974 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'package:flutter/material.dart'; import 'package:flutter_maps_samples/samples/basic.dart'; diff --git a/lib/samples/basic.dart b/lib/samples/basic.dart index 8d2773a..9e66d95 100644 --- a/lib/samples/basic.dart +++ b/lib/samples/basic.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/lib/samples/camera_animate.dart b/lib/samples/camera_animate.dart index 1954d4a..b7c754b 100644 --- a/lib/samples/camera_animate.dart +++ b/lib/samples/camera_animate.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/lib/samples/camera_move.dart b/lib/samples/camera_move.dart index fb713c5..a262c2c 100644 --- a/lib/samples/camera_move.dart +++ b/lib/samples/camera_move.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/lib/samples/handle_events.dart b/lib/samples/handle_events.dart index 96abf65..30d56a3 100644 --- a/lib/samples/handle_events.dart +++ b/lib/samples/handle_events.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/lib/samples/map_controller_async.dart b/lib/samples/map_controller_async.dart index 35743cf..cf346f2 100644 --- a/lib/samples/map_controller_async.dart +++ b/lib/samples/map_controller_async.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'dart:async'; diff --git a/lib/samples/map_id.dart b/lib/samples/map_id.dart index 2e2c0e6..f682cc8 100644 --- a/lib/samples/map_id.dart +++ b/lib/samples/map_id.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/lib/samples/map_type.dart b/lib/samples/map_type.dart index 50ff96e..256d527 100644 --- a/lib/samples/map_type.dart +++ b/lib/samples/map_type.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/lib/samples/marker.dart b/lib/samples/marker.dart index a166d90..6ffb6c9 100644 --- a/lib/samples/marker.dart +++ b/lib/samples/marker.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/lib/samples/marker_clusters.dart b/lib/samples/marker_clusters.dart index b6f663f..a992c8d 100644 --- a/lib/samples/marker_clusters.dart +++ b/lib/samples/marker_clusters.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/lib/samples/marker_clusters_dynamic.dart b/lib/samples/marker_clusters_dynamic.dart index 5c2f52a..034d463 100644 --- a/lib/samples/marker_clusters_dynamic.dart +++ b/lib/samples/marker_clusters_dynamic.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/lib/samples/marker_custom.dart b/lib/samples/marker_custom.dart index bb9bfd5..2c94e4f 100644 --- a/lib/samples/marker_custom.dart +++ b/lib/samples/marker_custom.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/lib/samples/marker_dynamic.dart b/lib/samples/marker_dynamic.dart index 668e0c6..b14bc51 100644 --- a/lib/samples/marker_dynamic.dart +++ b/lib/samples/marker_dynamic.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/lib/samples/my_location.dart b/lib/samples/my_location.dart index ca7ece9..eb45ad7 100644 --- a/lib/samples/my_location.dart +++ b/lib/samples/my_location.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'dart:async'; diff --git a/lib/samples/polygons.dart b/lib/samples/polygons.dart index 1bd185c..533681e 100644 --- a/lib/samples/polygons.dart +++ b/lib/samples/polygons.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/lib/samples/polylines.dart b/lib/samples/polylines.dart index 6c33855..cde7627 100644 --- a/lib/samples/polylines.dart +++ b/lib/samples/polylines.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/lib/samples/scrolling.dart b/lib/samples/scrolling.dart index e9e2ca5..f8daf30 100644 --- a/lib/samples/scrolling.dart +++ b/lib/samples/scrolling.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; diff --git a/lib/samples/styled_map.dart b/lib/samples/styled_map.dart index 9aed137..c3b9227 100644 --- a/lib/samples/styled_map.dart +++ b/lib/samples/styled_map.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/melos.yaml b/melos.yaml index b0405a2..7c96f2f 100644 --- a/melos.yaml +++ b/melos.yaml @@ -11,6 +11,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 name: flutter_maps_samples repository: https://github.com/googlemaps-samples/flutter-maps-samples diff --git a/pubspec.yaml b/pubspec.yaml index 6c7a446..15c803c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,6 +11,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 name: flutter_maps_samples description: "A demo of Google Maps SDK for Flutter." diff --git a/test/smoke_test.dart b/test/smoke_test.dart index a3906ea..3abe851 100644 --- a/test/smoke_test.dart +++ b/test/smoke_test.dart @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 import 'dart:io'; diff --git a/web/index.html b/web/index.html index 2e180a5..c5ea4f5 100644 --- a/web/index.html +++ b/web/index.html @@ -13,6 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + + SPDX-License-Identifier: Apache-2.0 -->