diff --git a/app/android/app/build.gradle.kts b/app/android/app/build.gradle.kts index a34e7a4..14792d5 100644 --- a/app/android/app/build.gradle.kts +++ b/app/android/app/build.gradle.kts @@ -1,3 +1,18 @@ +/* + * Copyright © 2025-26 l5yth & contributors + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * 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. + */ + plugins { id("com.android.application") id("kotlin-android") diff --git a/app/android/app/src/main/kotlin/net/potatomesh/reader/MainActivity.kt b/app/android/app/src/main/kotlin/net/potatomesh/reader/MainActivity.kt index 69dff6b..fd83868 100644 --- a/app/android/app/src/main/kotlin/net/potatomesh/reader/MainActivity.kt +++ b/app/android/app/src/main/kotlin/net/potatomesh/reader/MainActivity.kt @@ -1,3 +1,16 @@ +// Copyright © 2025-26 l5yth & contributors +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// 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. + package net.potatomesh.reader import io.flutter.embedding.android.FlutterActivity diff --git a/app/android/build.gradle.kts b/app/android/build.gradle.kts index dbee657..8dedf8b 100644 --- a/app/android/build.gradle.kts +++ b/app/android/build.gradle.kts @@ -1,3 +1,18 @@ +/* + * Copyright © 2025-26 l5yth & contributors + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * 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. + */ + allprojects { repositories { google() diff --git a/app/android/settings.gradle.kts b/app/android/settings.gradle.kts index ca7fe06..822b6d7 100644 --- a/app/android/settings.gradle.kts +++ b/app/android/settings.gradle.kts @@ -1,3 +1,18 @@ +/* + * Copyright © 2025-26 l5yth & contributors + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * 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. + */ + pluginManagement { val flutterSdkPath = run { diff --git a/app/debug.sh b/app/debug.sh index 8c9d1bf..8db1136 100755 --- a/app/debug.sh +++ b/app/debug.sh @@ -1,5 +1,18 @@ #!/usr/bin/env bash +# Copyright © 2025-26 l5yth & contributors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + export GIT_TAG="$(git describe --tags --abbrev=0)" export GIT_COMMITS="$(git rev-list --count ${GIT_TAG}..HEAD)" export GIT_SHA="$(git rev-parse --short=9 HEAD)" @@ -12,4 +25,3 @@ flutter run \ --dart-define=GIT_SHA="${GIT_SHA}" \ --dart-define=GIT_DIRTY="${GIT_DIRTY}" \ --device-id 38151FDJH00D4C - diff --git a/app/ios/Runner/AppDelegate.swift b/app/ios/Runner/AppDelegate.swift index 6266644..bfd25c1 100644 --- a/app/ios/Runner/AppDelegate.swift +++ b/app/ios/Runner/AppDelegate.swift @@ -1,3 +1,16 @@ +// Copyright © 2025-26 l5yth & contributors +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// 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. + import Flutter import UIKit diff --git a/app/ios/Runner/Runner-Bridging-Header.h b/app/ios/Runner/Runner-Bridging-Header.h index 308a2a5..277595c 100644 --- a/app/ios/Runner/Runner-Bridging-Header.h +++ b/app/ios/Runner/Runner-Bridging-Header.h @@ -1 +1,14 @@ +// Copyright © 2025-26 l5yth & contributors +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// 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. + #import "GeneratedPluginRegistrant.h" diff --git a/app/ios/RunnerTests/RunnerTests.swift b/app/ios/RunnerTests/RunnerTests.swift index 86a7c3b..4d2368b 100644 --- a/app/ios/RunnerTests/RunnerTests.swift +++ b/app/ios/RunnerTests/RunnerTests.swift @@ -1,3 +1,16 @@ +// Copyright © 2025-26 l5yth & contributors +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// 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. + import Flutter import UIKit import XCTest diff --git a/app/release.sh b/app/release.sh index 7c1a568..93f23c9 100755 --- a/app/release.sh +++ b/app/release.sh @@ -1,5 +1,18 @@ #!/usr/bin/env bash +# Copyright © 2025-26 l5yth & contributors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + set -euo pipefail export GIT_TAG="$(git describe --tags --abbrev=0)" @@ -27,4 +40,3 @@ fi export APK_DIR="build/app/outputs/flutter-apk" mv -v "${APK_DIR}/app-release.apk" "${APK_DIR}/potatomesh-reader-android-${TAG_NAME}.apk" (cd "${APK_DIR}" && sha256sum "potatomesh-reader-android-${TAG_NAME}.apk" > "potatomesh-reader-android-${TAG_NAME}.apk.sha256sum") - diff --git a/app/test/widget_test.dart b/app/test/widget_test.dart index e6d3fbe..63cbc5b 100644 --- a/app/test/widget_test.dart +++ b/app/test/widget_test.dart @@ -1,3 +1,16 @@ +// Copyright © 2025-26 l5yth & contributors +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// 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. + // This is a basic Flutter widget test. // // To perform an interaction with a widget in your test, use the WidgetTester diff --git a/tests/cypher.rb b/tests/cypher.rb index 45dfed6..286d54d 100644 --- a/tests/cypher.rb +++ b/tests/cypher.rb @@ -1,3 +1,16 @@ +# Copyright © 2025-26 l5yth & contributors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + require "base64" require "meshtastic" require "openssl" diff --git a/tests/rainbow.rb b/tests/rainbow.rb index fe6a340..ee85699 100644 --- a/tests/rainbow.rb +++ b/tests/rainbow.rb @@ -1,6 +1,19 @@ #!/usr/bin/env ruby # frozen_string_literal: true +# Copyright © 2025-26 l5yth & contributors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + require "base64" require "json" require "csv"