From d426e0ffe13facf70b49b90d3785078e6ddd92d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A8=E3=83=AA=E3=82=B9?= Date: Tue, 24 Feb 2026 15:37:57 +0900 Subject: [PATCH] chore: license, license headers & CI & draft workflow improvements (#1891) --- .github/workflows/draft-release.yml | 3 + .rat-excludes | 29 ++++ .ratignore | 4 +- CONTRIBUTING.md | 4 +- DEVELOPMENT.md | 4 +- LICENSE | 4 +- README.md | 4 +- framework/AndroidManifest.xml | 28 +-- framework/build.gradle | 29 ++-- framework/cordova-publish.gradle | 30 ++-- framework/cordova.gradle | 30 ++-- framework/gradle.properties | 4 +- .../gradle/wrapper/gradle-wrapper.properties | 4 +- framework/project.properties | 4 +- framework/repositories.gradle | 29 ++-- .../src/org/apache/cordova/AllowList.java | 30 ++-- .../org/apache/cordova/AllowListPlugin.java | 30 ++-- .../apache/cordova/AuthenticationToken.java | 30 ++-- .../src/org/apache/cordova/BuildHelper.java | 32 ++-- .../org/apache/cordova/CallbackContext.java | 30 ++-- .../src/org/apache/cordova/CallbackMap.java | 30 ++-- framework/src/org/apache/cordova/Config.java | 30 ++-- .../org/apache/cordova/ConfigXmlParser.java | 30 ++-- .../org/apache/cordova/CordovaActivity.java | 30 ++-- .../src/org/apache/cordova/CordovaArgs.java | 30 ++-- .../src/org/apache/cordova/CordovaBridge.java | 30 ++-- .../cordova/CordovaClientCertRequest.java | 30 ++-- .../apache/cordova/CordovaDialogsHelper.java | 32 ++-- .../cordova/CordovaHttpAuthHandler.java | 30 ++-- .../org/apache/cordova/CordovaInterface.java | 30 ++-- .../apache/cordova/CordovaInterfaceImpl.java | 30 ++-- .../src/org/apache/cordova/CordovaPlugin.java | 30 ++-- .../cordova/CordovaPluginPathHandler.java | 30 ++-- .../apache/cordova/CordovaPreferences.java | 30 ++-- .../apache/cordova/CordovaResourceApi.java | 32 ++-- .../org/apache/cordova/CordovaWebView.java | 32 ++-- .../apache/cordova/CordovaWebViewEngine.java | 30 ++-- .../apache/cordova/CordovaWebViewImpl.java | 30 ++-- .../src/org/apache/cordova/CoreAndroid.java | 30 ++-- .../src/org/apache/cordova/ExposedJsApi.java | 30 ++-- .../cordova/ICordovaClientCertRequest.java | 32 ++-- .../apache/cordova/ICordovaCookieManager.java | 30 ++-- .../cordova/ICordovaHttpAuthHandler.java | 32 ++-- framework/src/org/apache/cordova/LOG.java | 30 ++-- .../cordova/NativeToJsMessageQueue.java | 30 ++-- .../org/apache/cordova/PermissionHelper.java | 32 ++-- .../src/org/apache/cordova/PluginEntry.java | 32 ++-- .../src/org/apache/cordova/PluginManager.java | 32 ++-- .../src/org/apache/cordova/PluginResult.java | 30 ++-- .../org/apache/cordova/ResumeCallback.java | 30 ++-- .../apache/cordova/SplashScreenPlugin.java | 30 ++-- .../org/apache/cordova/SystemBarPlugin.java | 30 ++-- .../org/apache/cordova/allowlist/index.html | 28 +-- .../org/apache/cordova/allowlist/index2.html | 28 +-- .../cordova/engine/SystemCookieManager.java | 30 ++-- .../cordova/engine/SystemExposedJsApi.java | 30 ++-- .../cordova/engine/SystemWebChromeClient.java | 30 ++-- .../apache/cordova/engine/SystemWebView.java | 30 ++-- .../cordova/engine/SystemWebViewClient.java | 30 ++-- .../cordova/engine/SystemWebViewEngine.java | 30 ++-- lib/Adb.js | 2 +- lib/AndroidManifest.js | 2 +- lib/AndroidProject.js | 2 +- lib/Api.js | 2 +- lib/PackageType.js | 2 +- lib/android_sdk.js | 30 ++-- lib/build.js | 30 ++-- lib/builders/ProjectBuilder.js | 30 ++-- lib/builders/builders.js | 2 +- lib/builders/plugin-build.gradle | 29 ++-- lib/check_reqs.js | 30 ++-- lib/config/CordovaGradleConfigParser.js | 2 +- .../CordovaGradleConfigParserFactory.js | 2 +- lib/config/GradlePropertiesParser.js | 2 +- lib/create.js | 30 ++-- lib/emulator.js | 30 ++-- lib/env/java.js | 30 ++-- lib/pluginHandlers.js | 31 ++-- lib/prepare.js | 2 +- lib/run.js | 30 ++-- lib/target.js | 30 ++-- lib/utils.js | 2 +- spec/e2e/e2e.spec.js | 32 ++-- .../plugin.xml | 28 +-- .../fixtures/cordova-plugin-fake/plugin.xml | 28 +-- .../android_studio_project/app/.gitignore | 17 ++ .../android_studio_project/app/build.gradle | 19 +++ .../app/build/placeholder | 19 ++- .../app/proguard-rules.pro | 17 ++ .../app/src/main/AndroidManifest.xml | 20 ++- .../app/src/main/res/layout/activity_main.xml | 18 ++ .../app/src/main/res/values-w820dp/dimens.xml | 18 ++ .../app/src/main/res/values/colors.xml | 18 ++ .../app/src/main/res/values/dimens.xml | 18 ++ .../app/src/main/res/values/strings.xml | 18 ++ .../app/src/main/res/values/styles.xml | 18 ++ .../android_studio_project/build.gradle | 19 +++ .../android_studio_project/gradle.properties | 19 ++- .../gradle/wrapper/gradle-wrapper.properties | 4 +- spec/fixtures/android_studio_project/gradlew | 160 ------------------ .../android_studio_project/gradlew.bat | 90 ---------- .../android_studio_project/settings.gradle | 19 +++ .../android-resource.xml | 18 ++ .../org.test.plugins.dummyplugin/extra.gradle | 19 +++ .../plugin-lib/AndroidManifest.xml | 18 ++ .../plugin-lib/libFile | 17 ++ .../plugin-lib/project.properties | 17 ++ .../plugin-lib2/AndroidManifest.xml | 18 ++ .../plugin-lib2/libFile | 17 ++ .../plugin-lib2/project.properties | 17 ++ .../org.test.plugins.dummyplugin/plugin.xml | 29 ++-- .../src/android/DummyPlugin.java | 19 +++ .../src/android/DummyPlugin2.java | 19 +++ .../src/android/TestAar.aar | 17 ++ .../src/android/TestLib.jar | 17 ++ .../src/android/jniLibs/x86/libnative.so | 17 ++ .../src/android/myapi.aidl | 19 +++ .../src/android/mysettings.xml | 18 ++ .../src/android/other.extension | 17 ++ .../src/android/testaar2.aar | 17 ++ .../src/android/testjar2.jar | 17 ++ .../www/dummyplugin.js | 18 ++ .../www/dummyplugin/cordova.png | Bin 0 -> 4111 bytes .../www/dummyplugin/image.jpg | 1 - .../org.test.plugins.faultyplugin/plugin.xml | 29 ++-- .../src/android/FaultyPlugin.java | 19 +++ spec/helper.js | 2 +- spec/unit/Adb.spec.js | 2 +- spec/unit/AndroidManifest.spec.js | 2 +- spec/unit/AndroidProject.spec.js | 2 +- spec/unit/Api.spec.js | 6 +- spec/unit/android_sdk.spec.js | 2 +- spec/unit/build.spec.js | 30 ++-- spec/unit/builders/ProjectBuilder.spec.js | 2 +- spec/unit/builders/builders.spec.js | 2 +- spec/unit/check_reqs.spec.js | 2 +- .../config/GradlePropertiesParser.spec.js | 2 +- spec/unit/create.spec.js | 2 +- spec/unit/emulator.spec.js | 2 +- spec/unit/java.spec.js | 2 +- .../config/MockCordovaGradleConfigParser.js | 2 +- spec/unit/pluginHandlers/common.spec.js | 33 ++-- spec/unit/pluginHandlers/handlers.spec.js | 2 +- spec/unit/prepare.spec.js | 6 +- spec/unit/retry.spec.js | 2 +- spec/unit/run.spec.js | 2 +- spec/unit/target.spec.js | 2 +- templates/cordova/Api.js | 2 +- templates/cordova/android_sdk_version | 30 ++-- templates/cordova/defaults.xml | 28 +-- templates/cordova/lib/list-devices | 30 ++-- templates/cordova/lib/list-emulator-images | 30 ++-- templates/cordova/version | 30 ++-- templates/project/Activity.java | 32 ++-- templates/project/app/build.gradle | 30 ++-- templates/project/app/repositories.gradle | 29 ++-- templates/project/build.gradle | 29 ++-- templates/project/project.properties | 4 +- templates/project/repositories.gradle | 29 ++-- templates/project/res/xml/config.xml | 28 +-- templates/project/tools/settings.gradle | 30 ++-- test/androidx/README.md | 4 +- test/androidx/app/build.gradle | 29 ++-- test/androidx/app/proguard-rules.pro | 4 +- .../unittests/BackButtonMultipageTest.java | 30 ++-- .../unittests/EmbeddedWebViewTest.java | 30 ++-- .../cordova/unittests/ErrorUrlTest.java | 30 ++-- .../apache/cordova/unittests/IFrameTest.java | 30 ++-- .../MessageChannelMultipageTest.java | 30 ++-- .../unittests/StandardActivityTest.java | 30 ++-- .../src/main/assets/www/allowlist/index.html | 28 +-- .../src/main/assets/www/allowlist/index2.html | 28 +-- .../assets/www/backbuttonmultipage/index.html | 28 +-- .../www/backbuttonmultipage/sample2.html | 28 +-- .../www/backbuttonmultipage/sample3.html | 28 +-- .../assets/www/backgroundcolor/index.html | 28 +-- .../src/main/assets/www/fullscreen/index.html | 28 +-- .../main/assets/www/htmlnotfound/error.html | 28 +-- .../app/src/main/assets/www/iframe/index.html | 28 +-- .../src/main/assets/www/iframe/index2.html | 28 +-- .../app/src/main/assets/www/index.html | 28 +-- .../src/main/assets/www/lifecycle/index.html | 28 +-- .../src/main/assets/www/lifecycle/index2.html | 28 +-- test/androidx/app/src/main/assets/www/main.js | 30 ++-- .../app/src/main/assets/www/master.css | 30 ++-- .../unittests/EmbeddedWebViewActivity.java | 30 ++-- .../cordova/unittests/LifeCyclePlugin.java | 30 ++-- .../cordova/unittests/StandardActivity.java | 30 ++-- .../cordova/unittests/TestActivity.java | 30 ++-- .../unittests/NativeToJsMessageQueueTest.java | 30 ++-- test/androidx/build.gradle | 29 ++-- test/androidx/gradle.properties | 4 +- test/androidx/settings.gradle | 29 ++-- test/run_java_unit_tests.js | 30 ++-- types/index.d.ts | 2 +- 195 files changed, 2349 insertions(+), 1945 deletions(-) create mode 100644 .rat-excludes delete mode 100755 spec/fixtures/android_studio_project/gradlew delete mode 100644 spec/fixtures/android_studio_project/gradlew.bat create mode 100644 spec/fixtures/org.test.plugins.dummyplugin/www/dummyplugin/cordova.png delete mode 100644 spec/fixtures/org.test.plugins.dummyplugin/www/dummyplugin/image.jpg diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 8ede689f..a94f7b3e 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -98,6 +98,9 @@ jobs: env: CORDOVA_GPG_SECRET_KEY: ${{ secrets.CORDOVA_GPG_SECRET_KEY }} + - name: Remove ".gitkeep" from ".asf-release" + run: rm -rf ./.asf-release/.gitkeep + - name: Upload to Apache Trusted Release (ATR) uses: apache/tooling-actions/upload-to-atr@b7e972c11790ee16eca101900af1b3c7fd1b106e with: diff --git a/.rat-excludes b/.rat-excludes new file mode 100644 index 00000000..b751caa8 --- /dev/null +++ b/.rat-excludes @@ -0,0 +1,29 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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 file used by ATR + +**/*.txt +.git/ +coverage/ +framework/build/ +node_modules/ +templates/project/gitignore +test/androidx/app/.gitignore +test/androidx/app/build/ +test/androidx/build/ +test/androidx/tools/ diff --git a/.ratignore b/.ratignore index 60beb562..24f0f9a2 100644 --- a/.ratignore +++ b/.ratignore @@ -15,11 +15,13 @@ # specific language governing permissions and limitations # under the License. +# This file used by release audit workflow + +**/*.txt .git/ coverage/ framework/build/ node_modules/ -spec/fixtures/ templates/project/gitignore test/androidx/app/.gitignore test/androidx/app/build/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bd2bb9fc..d49911d0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,12 +8,12 @@ # "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 +# 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 +# KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. # diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index ade4ca5d..b5b4fd96 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -8,12 +8,12 @@ # "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 +# 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 +# KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. # diff --git a/LICENSE b/LICENSE index cc0431d9..261eeb9e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,3 @@ - Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -187,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2015-2024 Apache Cordova + Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -200,4 +199,3 @@ 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. - diff --git a/README.md b/README.md index 9bfb67ef..4df4be67 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,12 @@ # "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 +# 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 +# KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. # diff --git a/framework/AndroidManifest.xml b/framework/AndroidManifest.xml index 77a4bf7a..48d9ddc6 100755 --- a/framework/AndroidManifest.xml +++ b/framework/AndroidManifest.xml @@ -1,21 +1,21 @@ diff --git a/framework/src/org/apache/cordova/allowlist/index2.html b/framework/src/org/apache/cordova/allowlist/index2.html index bb475a87..438bb906 100755 --- a/framework/src/org/apache/cordova/allowlist/index2.html +++ b/framework/src/org/apache/cordova/allowlist/index2.html @@ -1,20 +1,20 @@ diff --git a/framework/src/org/apache/cordova/engine/SystemCookieManager.java b/framework/src/org/apache/cordova/engine/SystemCookieManager.java index 16cf5482..694dd57d 100644 --- a/framework/src/org/apache/cordova/engine/SystemCookieManager.java +++ b/framework/src/org/apache/cordova/engine/SystemCookieManager.java @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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 org.apache.cordova.engine; diff --git a/framework/src/org/apache/cordova/engine/SystemExposedJsApi.java b/framework/src/org/apache/cordova/engine/SystemExposedJsApi.java index c37d4558..2ea8fcdd 100755 --- a/framework/src/org/apache/cordova/engine/SystemExposedJsApi.java +++ b/framework/src/org/apache/cordova/engine/SystemExposedJsApi.java @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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 org.apache.cordova.engine; diff --git a/framework/src/org/apache/cordova/engine/SystemWebChromeClient.java b/framework/src/org/apache/cordova/engine/SystemWebChromeClient.java index 6ed2bdaa..4f24b812 100755 --- a/framework/src/org/apache/cordova/engine/SystemWebChromeClient.java +++ b/framework/src/org/apache/cordova/engine/SystemWebChromeClient.java @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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 org.apache.cordova.engine; diff --git a/framework/src/org/apache/cordova/engine/SystemWebView.java b/framework/src/org/apache/cordova/engine/SystemWebView.java index 01c2f000..59b1485b 100644 --- a/framework/src/org/apache/cordova/engine/SystemWebView.java +++ b/framework/src/org/apache/cordova/engine/SystemWebView.java @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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 org.apache.cordova.engine; diff --git a/framework/src/org/apache/cordova/engine/SystemWebViewClient.java b/framework/src/org/apache/cordova/engine/SystemWebViewClient.java index cb880bdc..47da339e 100755 --- a/framework/src/org/apache/cordova/engine/SystemWebViewClient.java +++ b/framework/src/org/apache/cordova/engine/SystemWebViewClient.java @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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 org.apache.cordova.engine; diff --git a/framework/src/org/apache/cordova/engine/SystemWebViewEngine.java b/framework/src/org/apache/cordova/engine/SystemWebViewEngine.java index f83cbfeb..b623a904 100755 --- a/framework/src/org/apache/cordova/engine/SystemWebViewEngine.java +++ b/framework/src/org/apache/cordova/engine/SystemWebViewEngine.java @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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 org.apache.cordova.engine; diff --git a/lib/Adb.js b/lib/Adb.js index 897ef5cb..33ef2757 100644 --- a/lib/Adb.js +++ b/lib/Adb.js @@ -7,7 +7,7 @@ "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 + 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 diff --git a/lib/AndroidManifest.js b/lib/AndroidManifest.js index 2006d6ee..0a2929eb 100644 --- a/lib/AndroidManifest.js +++ b/lib/AndroidManifest.js @@ -7,7 +7,7 @@ "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 + 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 diff --git a/lib/AndroidProject.js b/lib/AndroidProject.js index 85f8ee53..3ab500a3 100644 --- a/lib/AndroidProject.js +++ b/lib/AndroidProject.js @@ -7,7 +7,7 @@ "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 + 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 diff --git a/lib/Api.js b/lib/Api.js index 2ab4083a..c6f8638b 100644 --- a/lib/Api.js +++ b/lib/Api.js @@ -7,7 +7,7 @@ "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 + 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 diff --git a/lib/PackageType.js b/lib/PackageType.js index fd129f13..52058807 100644 --- a/lib/PackageType.js +++ b/lib/PackageType.js @@ -7,7 +7,7 @@ "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 + 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 diff --git a/lib/android_sdk.js b/lib/android_sdk.js index 568ab66f..04dc5f74 100755 --- a/lib/android_sdk.js +++ b/lib/android_sdk.js @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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. */ const execa = require('execa'); diff --git a/lib/build.js b/lib/build.js index a0674f5b..02770423 100644 --- a/lib/build.js +++ b/lib/build.js @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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. */ const path = require('node:path'); diff --git a/lib/builders/ProjectBuilder.js b/lib/builders/ProjectBuilder.js index 4abf379c..30d883c5 100644 --- a/lib/builders/ProjectBuilder.js +++ b/lib/builders/ProjectBuilder.js @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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. */ const fs = require('node:fs'); diff --git a/lib/builders/builders.js b/lib/builders/builders.js index edc1a525..0cf4d238 100644 --- a/lib/builders/builders.js +++ b/lib/builders/builders.js @@ -1,4 +1,4 @@ -/* +/** Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information diff --git a/lib/builders/plugin-build.gradle b/lib/builders/plugin-build.gradle index 56ad8559..ebdcc9dd 100644 --- a/lib/builders/plugin-build.gradle +++ b/lib/builders/plugin-build.gradle @@ -1,19 +1,20 @@ -/* Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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. */ // GENERATED FILE! DO NOT EDIT! diff --git a/lib/check_reqs.js b/lib/check_reqs.js index 217f5dd6..cf92179b 100644 --- a/lib/check_reqs.js +++ b/lib/check_reqs.js @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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. */ const path = require('node:path'); diff --git a/lib/config/CordovaGradleConfigParser.js b/lib/config/CordovaGradleConfigParser.js index 2334629b..6a3c7d53 100644 --- a/lib/config/CordovaGradleConfigParser.js +++ b/lib/config/CordovaGradleConfigParser.js @@ -7,7 +7,7 @@ "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 + 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 diff --git a/lib/config/CordovaGradleConfigParserFactory.js b/lib/config/CordovaGradleConfigParserFactory.js index 4ff6001a..f64aa63e 100644 --- a/lib/config/CordovaGradleConfigParserFactory.js +++ b/lib/config/CordovaGradleConfigParserFactory.js @@ -7,7 +7,7 @@ "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 + 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 diff --git a/lib/config/GradlePropertiesParser.js b/lib/config/GradlePropertiesParser.js index d4447b01..1e01487e 100644 --- a/lib/config/GradlePropertiesParser.js +++ b/lib/config/GradlePropertiesParser.js @@ -7,7 +7,7 @@ "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 + 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 diff --git a/lib/create.js b/lib/create.js index 3c4c3d75..9fba7cd9 100755 --- a/lib/create.js +++ b/lib/create.js @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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. */ const path = require('node:path'); diff --git a/lib/emulator.js b/lib/emulator.js index 6bab17a7..7056f5a6 100644 --- a/lib/emulator.js +++ b/lib/emulator.js @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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. */ const execa = require('execa'); diff --git a/lib/env/java.js b/lib/env/java.js index a65030e2..0c305a6b 100644 --- a/lib/env/java.js +++ b/lib/env/java.js @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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. */ const execa = require('execa'); diff --git a/lib/pluginHandlers.js b/lib/pluginHandlers.js index efd8cf2a..88eccb01 100644 --- a/lib/pluginHandlers.js +++ b/lib/pluginHandlers.js @@ -1,17 +1,20 @@ -/* - * 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. - * +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. */ const fs = require('node:fs'); diff --git a/lib/prepare.js b/lib/prepare.js index 2ca2fd31..af39b787 100644 --- a/lib/prepare.js +++ b/lib/prepare.js @@ -7,7 +7,7 @@ "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 + 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 diff --git a/lib/run.js b/lib/run.js index ef9e71fd..25565ac7 100644 --- a/lib/run.js +++ b/lib/run.js @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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. */ const emulator = require('./emulator'); diff --git a/lib/target.js b/lib/target.js index fcdc79fc..0c8baf7e 100644 --- a/lib/target.js +++ b/lib/target.js @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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. */ const { inspect } = require('node:util'); diff --git a/lib/utils.js b/lib/utils.js index d538e1b7..03473768 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -1,4 +1,4 @@ -/* +/** Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information diff --git a/spec/e2e/e2e.spec.js b/spec/e2e/e2e.spec.js index 5856f0e3..0dc9de69 100644 --- a/spec/e2e/e2e.spec.js +++ b/spec/e2e/e2e.spec.js @@ -1,21 +1,21 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. - */ + 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. +*/ const os = require('node:os'); const fs = require('node:fs'); diff --git a/spec/e2e/fixtures/cordova-plugin-fake-ios-frameworks/plugin.xml b/spec/e2e/fixtures/cordova-plugin-fake-ios-frameworks/plugin.xml index 6df9acd1..9786a45c 100644 --- a/spec/e2e/fixtures/cordova-plugin-fake-ios-frameworks/plugin.xml +++ b/spec/e2e/fixtures/cordova-plugin-fake-ios-frameworks/plugin.xml @@ -1,21 +1,21 @@ + @@ -17,4 +35,4 @@ - \ No newline at end of file + diff --git a/spec/fixtures/android_studio_project/app/src/main/res/layout/activity_main.xml b/spec/fixtures/android_studio_project/app/src/main/res/layout/activity_main.xml index 2a655523..d4ba1bf1 100644 --- a/spec/fixtures/android_studio_project/app/src/main/res/layout/activity_main.xml +++ b/spec/fixtures/android_studio_project/app/src/main/res/layout/activity_main.xml @@ -1,4 +1,22 @@ + #3F51B5 #303F9F diff --git a/spec/fixtures/android_studio_project/app/src/main/res/values/dimens.xml b/spec/fixtures/android_studio_project/app/src/main/res/values/dimens.xml index 47c82246..074e862b 100644 --- a/spec/fixtures/android_studio_project/app/src/main/res/values/dimens.xml +++ b/spec/fixtures/android_studio_project/app/src/main/res/values/dimens.xml @@ -1,3 +1,21 @@ + 16dp diff --git a/spec/fixtures/android_studio_project/app/src/main/res/values/strings.xml b/spec/fixtures/android_studio_project/app/src/main/res/values/strings.xml index efd30732..4cd2d860 100644 --- a/spec/fixtures/android_studio_project/app/src/main/res/values/strings.xml +++ b/spec/fixtures/android_studio_project/app/src/main/res/values/strings.xml @@ -1,3 +1,21 @@ + My Application diff --git a/spec/fixtures/android_studio_project/app/src/main/res/values/styles.xml b/spec/fixtures/android_studio_project/app/src/main/res/values/styles.xml index 5885930d..7769f46c 100644 --- a/spec/fixtures/android_studio_project/app/src/main/res/values/styles.xml +++ b/spec/fixtures/android_studio_project/app/src/main/res/values/styles.xml @@ -1,3 +1,21 @@ + diff --git a/spec/fixtures/android_studio_project/build.gradle b/spec/fixtures/android_studio_project/build.gradle index 05b5265d..e8c84b99 100644 --- a/spec/fixtures/android_studio_project/build.gradle +++ b/spec/fixtures/android_studio_project/build.gradle @@ -1,3 +1,22 @@ +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. +*/ + // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { diff --git a/spec/fixtures/android_studio_project/gradle.properties b/spec/fixtures/android_studio_project/gradle.properties index 1d3591c8..2281fe65 100644 --- a/spec/fixtures/android_studio_project/gradle.properties +++ b/spec/fixtures/android_studio_project/gradle.properties @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + # Project-wide Gradle settings. # IDE (e.g. Android Studio) users: @@ -15,4 +32,4 @@ # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true \ No newline at end of file +# org.gradle.parallel=true diff --git a/spec/fixtures/android_studio_project/gradle/wrapper/gradle-wrapper.properties b/spec/fixtures/android_studio_project/gradle/wrapper/gradle-wrapper.properties index 2d050071..936c1685 100644 --- a/spec/fixtures/android_studio_project/gradle/wrapper/gradle-wrapper.properties +++ b/spec/fixtures/android_studio_project/gradle/wrapper/gradle-wrapper.properties @@ -6,12 +6,12 @@ # "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 +# 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 +# KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. diff --git a/spec/fixtures/android_studio_project/gradlew b/spec/fixtures/android_studio_project/gradlew deleted file mode 100755 index 9d82f789..00000000 --- a/spec/fixtures/android_studio_project/gradlew +++ /dev/null @@ -1,160 +0,0 @@ -#!/usr/bin/env bash - -############################################################################## -## -## Gradle start up script for UN*X -## -############################################################################## - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS="" - -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn ( ) { - echo "$*" -} - -die ( ) { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; -esac - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null -APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null - -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 - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin, switch paths to Windows format before running java -if $cygwin ; 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 - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=$((i+1)) - done - case $i in - (0) set -- ;; - (1) set -- "$args0" ;; - (2) set -- "$args0" "$args1" ;; - (3) set -- "$args0" "$args1" "$args2" ;; - (4) set -- "$args0" "$args1" "$args2" "$args3" ;; - (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules -function splitJvmOpts() { - JVM_OPTS=("$@") -} -eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS -JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" - -exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" diff --git a/spec/fixtures/android_studio_project/gradlew.bat b/spec/fixtures/android_studio_project/gradlew.bat deleted file mode 100644 index 8a0b282a..00000000 --- a/spec/fixtures/android_studio_project/gradlew.bat +++ /dev/null @@ -1,90 +0,0 @@ -@if "%DEBUG%" == "" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS= - -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto init - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto init - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:init -@rem Get command-line arguments, handling Windowz variants - -if not "%OS%" == "Windows_NT" goto win9xME_args -if "%@eval[2+2]" == "4" goto 4NT_args - -:win9xME_args -@rem Slurp the command line arguments. -set CMD_LINE_ARGS= -set _SKIP=2 - -:win9xME_args_slurp -if "x%~1" == "x" goto execute - -set CMD_LINE_ARGS=%* -goto execute - -:4NT_args -@rem Get arguments from the 4NT Shell from JP Software -set CMD_LINE_ARGS=%$ - -:execute -@rem Setup the command line - -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% - -:end -@rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega diff --git a/spec/fixtures/android_studio_project/settings.gradle b/spec/fixtures/android_studio_project/settings.gradle index e7b4def4..e16301e2 100644 --- a/spec/fixtures/android_studio_project/settings.gradle +++ b/spec/fixtures/android_studio_project/settings.gradle @@ -1 +1,20 @@ +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. +*/ + include ':app' diff --git a/spec/fixtures/org.test.plugins.dummyplugin/android-resource.xml b/spec/fixtures/org.test.plugins.dummyplugin/android-resource.xml index 9046e6e6..fa116ea4 100644 --- a/spec/fixtures/org.test.plugins.dummyplugin/android-resource.xml +++ b/spec/fixtures/org.test.plugins.dummyplugin/android-resource.xml @@ -1 +1,19 @@ + ./org.test.plugins.dummyplugin/android-resource.xml diff --git a/spec/fixtures/org.test.plugins.dummyplugin/extra.gradle b/spec/fixtures/org.test.plugins.dummyplugin/extra.gradle index 5b828a9d..23799ffa 100644 --- a/spec/fixtures/org.test.plugins.dummyplugin/extra.gradle +++ b/spec/fixtures/org.test.plugins.dummyplugin/extra.gradle @@ -1 +1,20 @@ +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. +*/ + extra.gradle diff --git a/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib/AndroidManifest.xml b/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib/AndroidManifest.xml index 3c9499c1..216c4809 100644 --- a/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib/AndroidManifest.xml +++ b/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib/AndroidManifest.xml @@ -1,3 +1,21 @@ + diff --git a/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib/libFile b/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib/libFile index c79df8ef..f1794ce5 100644 --- a/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib/libFile +++ b/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib/libFile @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + libFile contents diff --git a/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib/project.properties b/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib/project.properties index c4a5b638..812562b6 100644 --- a/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib/project.properties +++ b/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib/project.properties @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + target=android-11 diff --git a/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib2/AndroidManifest.xml b/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib2/AndroidManifest.xml index 3c9499c1..216c4809 100644 --- a/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib2/AndroidManifest.xml +++ b/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib2/AndroidManifest.xml @@ -1,3 +1,21 @@ + diff --git a/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib2/libFile b/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib2/libFile index c79df8ef..f1794ce5 100644 --- a/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib2/libFile +++ b/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib2/libFile @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + libFile contents diff --git a/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib2/project.properties b/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib2/project.properties index c4a5b638..812562b6 100644 --- a/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib2/project.properties +++ b/spec/fixtures/org.test.plugins.dummyplugin/plugin-lib2/project.properties @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + target=android-11 diff --git a/spec/fixtures/org.test.plugins.dummyplugin/plugin.xml b/spec/fixtures/org.test.plugins.dummyplugin/plugin.xml index f7a82ba5..ebf7732e 100644 --- a/spec/fixtures/org.test.plugins.dummyplugin/plugin.xml +++ b/spec/fixtures/org.test.plugins.dummyplugin/plugin.xml @@ -1,23 +1,24 @@ - dummy diff --git a/spec/fixtures/org.test.plugins.dummyplugin/src/android/other.extension b/spec/fixtures/org.test.plugins.dummyplugin/src/android/other.extension index 421376db..5274623f 100644 --- a/spec/fixtures/org.test.plugins.dummyplugin/src/android/other.extension +++ b/spec/fixtures/org.test.plugins.dummyplugin/src/android/other.extension @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + dummy diff --git a/spec/fixtures/org.test.plugins.dummyplugin/src/android/testaar2.aar b/spec/fixtures/org.test.plugins.dummyplugin/src/android/testaar2.aar index 421376db..5274623f 100644 --- a/spec/fixtures/org.test.plugins.dummyplugin/src/android/testaar2.aar +++ b/spec/fixtures/org.test.plugins.dummyplugin/src/android/testaar2.aar @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + dummy diff --git a/spec/fixtures/org.test.plugins.dummyplugin/src/android/testjar2.jar b/spec/fixtures/org.test.plugins.dummyplugin/src/android/testjar2.jar index 421376db..5274623f 100644 --- a/spec/fixtures/org.test.plugins.dummyplugin/src/android/testjar2.jar +++ b/spec/fixtures/org.test.plugins.dummyplugin/src/android/testjar2.jar @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + dummy diff --git a/spec/fixtures/org.test.plugins.dummyplugin/www/dummyplugin.js b/spec/fixtures/org.test.plugins.dummyplugin/www/dummyplugin.js index e69de29b..10811de9 100644 --- a/spec/fixtures/org.test.plugins.dummyplugin/www/dummyplugin.js +++ b/spec/fixtures/org.test.plugins.dummyplugin/www/dummyplugin.js @@ -0,0 +1,18 @@ +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. +*/ diff --git a/spec/fixtures/org.test.plugins.dummyplugin/www/dummyplugin/cordova.png b/spec/fixtures/org.test.plugins.dummyplugin/www/dummyplugin/cordova.png new file mode 100644 index 0000000000000000000000000000000000000000..8ad8bac07b1e326584ff49ef82bcead9e024830b GIT binary patch literal 4111 zcmbVPX*iT^`yXVhv1G|sOk-&hW-&8n#taQ(vQ74-L0AgmQ zBwOAJ+j>QWcwZ;}^#tCcz&3Ga+c8eCL#aVD0MU!#K?9iuQoU)mG^$tF$)_|t03hJw zYwyfv} z^YJwe52D$HAGY@l_xHqlfej5ncn*%IAdtqUf;fQzbQX?70RO2M$J=j-pA`P{iGxBzLql~!b#)j)-cUFei-p1vPy|AohtOt)(b-gvHl3yV zTLX#4@(l82vV9qJ(3VE32P2qG0P{TkD}+EMh4PPLI_vL5@lpomP?=D;4h$L?xE0r* zXcpU+_Wy4DE1G2=#-u@QX)H!?kSDJmCscovdAa-VhPHq_Z*W#YzPzGP14sPE|`*|nzqI%K%E zS!jN+5l{UI7z%apXiwdfR; z;&PJdAHZctU7^@Zrei8bsmP3DtEX-*15l?|t)lZp;Le1nWt+pW@S9_iS5&qoqJU8YAv4W9lf+RkN z{#-jXI6k6ja0>icxZ~o|K4Iqpxfh7}!+5p~ zNl!eKG(OCamyZKMA*je>DHF45w@8u^(r%PY^^u8;t3AG%g zDsVUR&0RYZjXaD8PoCKPW_CPzYQ3Abu(RomMb`l~%UuLI z%I}OZ12=2Mot71k+b{mJ-NPo?2m`+56Z`fv#9cZ&S=jzqZDd9L^^Eb44HR$a&jP8Z zj#Qc1X#aBLTa$0xB0iN^{7}aar)sxrf80t`mXuV#r7>wI0CbiYKPGu16qyL5%SOZ&5si9?Rj*XQ%vEx2hS9n14w^&-Z9$lwN>{+<|mmmc0cF4yikP z%(vP3BJgOBd1&1=yPTuaW z6as#)7Mw6!2}kZO_9)&q-w$tYD>k0c0p1elwW8yY~gQvel6Qq_En8WdY!Dy zG^nk9>3u2iJ~QQ(7^l_~HxgRxQa9qsN8%dmn;OklMO3BggR(1{2(e%nrpe| zTvCPv1>D0DH|=v3czMHB+eHoGSyU1IED|FZ-61d_W#+uiK6xE)a<7m0`jYe7Hi$sm zrDyL7Yw8z^A)*pOCHwW&lm(L4{KhQE0-cWwgvBd|m*UeZi2Rv3`<_4Q0+w#CBx5qlBJ3|3 zvbK@iNy0iU+z+m)FBS2}Nwx_9s93-3O<$&aTHzDUMjM5M(tJ3Zh_KYxA8Fm~_s&MM zS6*%QH9@pOXhMEv6zgu#l3!>sceFZ6*3l@l%^h+uMoy>i#U^!LUI83)itpkb{v&A8&dx8|4kEPr6(?%p2CXc2O;P|xgj9X$o)iO*%-gCHr^0ggGM5e0sHgp=$PO}4XJfw;nf{))fa~y8~c)66C2#RyvM%rV{N8y z2Z=t-gUT$7YAUO?S>lsBepCUaUGnR@9deqKdk2S>)92;Vyf81z3 zWu-0oAeuX^6F1hj`eTyRoNx{kx|sjbJ8DO1bANxomy^>_JiT0Vvg!fbAapSnu;bOukn@4I4Q9WgR0Rv<_Aai1WBe;W(K z1eJ%LO!qze+*ogo2fq5uy;A8phWSbo7`CwG^o7l zIC3ePoH2xl0MG7o5FGPg!4Jd^4-ccJ&1rsql_lYWR&(UlpkdUw?^y{TuzMa9J@&2u zwfvpj+1}dPTIUf}rdVubnh_K2Y(lwJ?_jyzN?_G8wCi0z-muFBRPD6Uxp<GUeO1L1lR{YLqjc+Y z%_mAyrxpT2&Si;0yD88sE<>#$CFgY@y9PEkHXJJIUix_VII8D8ORc0fd74rt*x})R zaeBpe750EX+P}u6>LoP}&9N_W(T*Lne(Qhe$Y#D{O;slrr(;I*1olG9*2ad0^hO2- zSUWleVQ0jku}ty$w*X}pi^~m5@h4vW;8IU7wZ47yf=~RLCAV>P&C4a~Qc0iIT1hq! z4G{797t1)E62CL3nq=*$qp?d^j@3r zjkc#%BFnT??Jg9FJ^7KX#P@8pBQrwM9)Ck~&nwcA5v@tZ$yc71&r~b>tJD0VR@E=H yH;l{#Y&QLp*k>R#+!=ajmi3zNn9QbXGa%>ci~aMJE|jfbbTgB~q-rDg=>G#nW-6`# literal 0 HcmV?d00001 diff --git a/spec/fixtures/org.test.plugins.dummyplugin/www/dummyplugin/image.jpg b/spec/fixtures/org.test.plugins.dummyplugin/www/dummyplugin/image.jpg deleted file mode 100644 index 219c78a1..00000000 --- a/spec/fixtures/org.test.plugins.dummyplugin/www/dummyplugin/image.jpg +++ /dev/null @@ -1 +0,0 @@ -./org.test.plugins.dummyplugin/www/dummyplugin/image.jpg diff --git a/spec/fixtures/org.test.plugins.faultyplugin/plugin.xml b/spec/fixtures/org.test.plugins.faultyplugin/plugin.xml index 7d2a2d2a..40c3aded 100644 --- a/spec/fixtures/org.test.plugins.faultyplugin/plugin.xml +++ b/spec/fixtures/org.test.plugins.faultyplugin/plugin.xml @@ -1,23 +1,24 @@ - diff --git a/test/androidx/app/src/main/assets/www/allowlist/index2.html b/test/androidx/app/src/main/assets/www/allowlist/index2.html index bb475a87..438bb906 100755 --- a/test/androidx/app/src/main/assets/www/allowlist/index2.html +++ b/test/androidx/app/src/main/assets/www/allowlist/index2.html @@ -1,20 +1,20 @@ diff --git a/test/androidx/app/src/main/assets/www/backbuttonmultipage/index.html b/test/androidx/app/src/main/assets/www/backbuttonmultipage/index.html index 8739aa0e..05cfa459 100755 --- a/test/androidx/app/src/main/assets/www/backbuttonmultipage/index.html +++ b/test/androidx/app/src/main/assets/www/backbuttonmultipage/index.html @@ -1,20 +1,20 @@ diff --git a/test/androidx/app/src/main/assets/www/backbuttonmultipage/sample2.html b/test/androidx/app/src/main/assets/www/backbuttonmultipage/sample2.html index 0b5be64c..26fccc03 100755 --- a/test/androidx/app/src/main/assets/www/backbuttonmultipage/sample2.html +++ b/test/androidx/app/src/main/assets/www/backbuttonmultipage/sample2.html @@ -1,20 +1,20 @@ diff --git a/test/androidx/app/src/main/assets/www/backbuttonmultipage/sample3.html b/test/androidx/app/src/main/assets/www/backbuttonmultipage/sample3.html index 7aa1e3b4..e1de0f48 100755 --- a/test/androidx/app/src/main/assets/www/backbuttonmultipage/sample3.html +++ b/test/androidx/app/src/main/assets/www/backbuttonmultipage/sample3.html @@ -1,20 +1,20 @@ diff --git a/test/androidx/app/src/main/assets/www/backgroundcolor/index.html b/test/androidx/app/src/main/assets/www/backgroundcolor/index.html index 3b09d648..a73b0e0d 100755 --- a/test/androidx/app/src/main/assets/www/backgroundcolor/index.html +++ b/test/androidx/app/src/main/assets/www/backgroundcolor/index.html @@ -1,20 +1,20 @@ diff --git a/test/androidx/app/src/main/assets/www/fullscreen/index.html b/test/androidx/app/src/main/assets/www/fullscreen/index.html index ab43cc43..4b3e5d07 100755 --- a/test/androidx/app/src/main/assets/www/fullscreen/index.html +++ b/test/androidx/app/src/main/assets/www/fullscreen/index.html @@ -1,20 +1,20 @@ diff --git a/test/androidx/app/src/main/assets/www/htmlnotfound/error.html b/test/androidx/app/src/main/assets/www/htmlnotfound/error.html index 3852efe6..6dbee031 100755 --- a/test/androidx/app/src/main/assets/www/htmlnotfound/error.html +++ b/test/androidx/app/src/main/assets/www/htmlnotfound/error.html @@ -1,20 +1,20 @@ diff --git a/test/androidx/app/src/main/assets/www/iframe/index.html b/test/androidx/app/src/main/assets/www/iframe/index.html index c286e245..0518940a 100755 --- a/test/androidx/app/src/main/assets/www/iframe/index.html +++ b/test/androidx/app/src/main/assets/www/iframe/index.html @@ -1,21 +1,21 @@ diff --git a/test/androidx/app/src/main/assets/www/iframe/index2.html b/test/androidx/app/src/main/assets/www/iframe/index2.html index b1ca1b0b..799a1115 100755 --- a/test/androidx/app/src/main/assets/www/iframe/index2.html +++ b/test/androidx/app/src/main/assets/www/iframe/index2.html @@ -1,21 +1,21 @@ diff --git a/test/androidx/app/src/main/assets/www/index.html b/test/androidx/app/src/main/assets/www/index.html index 0252050a..458a1d22 100755 --- a/test/androidx/app/src/main/assets/www/index.html +++ b/test/androidx/app/src/main/assets/www/index.html @@ -1,20 +1,20 @@ diff --git a/test/androidx/app/src/main/assets/www/lifecycle/index.html b/test/androidx/app/src/main/assets/www/lifecycle/index.html index 25fc2308..22f675b0 100755 --- a/test/androidx/app/src/main/assets/www/lifecycle/index.html +++ b/test/androidx/app/src/main/assets/www/lifecycle/index.html @@ -1,21 +1,21 @@ diff --git a/test/androidx/app/src/main/assets/www/lifecycle/index2.html b/test/androidx/app/src/main/assets/www/lifecycle/index2.html index 9b22a0d6..7887fc9d 100755 --- a/test/androidx/app/src/main/assets/www/lifecycle/index2.html +++ b/test/androidx/app/src/main/assets/www/lifecycle/index2.html @@ -1,20 +1,20 @@ diff --git a/test/androidx/app/src/main/assets/www/main.js b/test/androidx/app/src/main/assets/www/main.js index a2421391..34e92923 100755 --- a/test/androidx/app/src/main/assets/www/main.js +++ b/test/androidx/app/src/main/assets/www/main.js @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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. */ var deviceInfo = function() { diff --git a/test/androidx/app/src/main/assets/www/master.css b/test/androidx/app/src/main/assets/www/master.css index c3e3c452..0df6d1fc 100755 --- a/test/androidx/app/src/main/assets/www/master.css +++ b/test/androidx/app/src/main/assets/www/master.css @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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. */ body { diff --git a/test/androidx/app/src/main/java/org/apache/cordova/unittests/EmbeddedWebViewActivity.java b/test/androidx/app/src/main/java/org/apache/cordova/unittests/EmbeddedWebViewActivity.java index 92cc74f2..b4ad2b9c 100644 --- a/test/androidx/app/src/main/java/org/apache/cordova/unittests/EmbeddedWebViewActivity.java +++ b/test/androidx/app/src/main/java/org/apache/cordova/unittests/EmbeddedWebViewActivity.java @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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 org.apache.cordova.unittests; diff --git a/test/androidx/app/src/main/java/org/apache/cordova/unittests/LifeCyclePlugin.java b/test/androidx/app/src/main/java/org/apache/cordova/unittests/LifeCyclePlugin.java index deaf74d2..8696549d 100644 --- a/test/androidx/app/src/main/java/org/apache/cordova/unittests/LifeCyclePlugin.java +++ b/test/androidx/app/src/main/java/org/apache/cordova/unittests/LifeCyclePlugin.java @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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 org.apache.cordova.unittests; diff --git a/test/androidx/app/src/main/java/org/apache/cordova/unittests/StandardActivity.java b/test/androidx/app/src/main/java/org/apache/cordova/unittests/StandardActivity.java index 9e7cce94..97bdc530 100644 --- a/test/androidx/app/src/main/java/org/apache/cordova/unittests/StandardActivity.java +++ b/test/androidx/app/src/main/java/org/apache/cordova/unittests/StandardActivity.java @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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 org.apache.cordova.unittests; diff --git a/test/androidx/app/src/main/java/org/apache/cordova/unittests/TestActivity.java b/test/androidx/app/src/main/java/org/apache/cordova/unittests/TestActivity.java index 024a131f..30889cbd 100644 --- a/test/androidx/app/src/main/java/org/apache/cordova/unittests/TestActivity.java +++ b/test/androidx/app/src/main/java/org/apache/cordova/unittests/TestActivity.java @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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 org.apache.cordova.unittests; diff --git a/test/androidx/app/src/test/java/org/apache/cordova/unittests/NativeToJsMessageQueueTest.java b/test/androidx/app/src/test/java/org/apache/cordova/unittests/NativeToJsMessageQueueTest.java index dc7bb672..71271bfe 100644 --- a/test/androidx/app/src/test/java/org/apache/cordova/unittests/NativeToJsMessageQueueTest.java +++ b/test/androidx/app/src/test/java/org/apache/cordova/unittests/NativeToJsMessageQueueTest.java @@ -1,20 +1,20 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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 org.apache.cordova.unittests; diff --git a/test/androidx/build.gradle b/test/androidx/build.gradle index 24ef1dca..d077a2cf 100644 --- a/test/androidx/build.gradle +++ b/test/androidx/build.gradle @@ -1,19 +1,20 @@ -/* Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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. */ // Top-level build file where you can add configuration options common to all sub-projects/modules. diff --git a/test/androidx/gradle.properties b/test/androidx/gradle.properties index 060ebf7a..7b237901 100644 --- a/test/androidx/gradle.properties +++ b/test/androidx/gradle.properties @@ -6,12 +6,12 @@ # "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 +# 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 +# KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. diff --git a/test/androidx/settings.gradle b/test/androidx/settings.gradle index ac3d9ebd..49aba4c2 100644 --- a/test/androidx/settings.gradle +++ b/test/androidx/settings.gradle @@ -1,19 +1,20 @@ -/* Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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. */ include ':app' diff --git a/test/run_java_unit_tests.js b/test/run_java_unit_tests.js index ad2556f8..4c023e38 100644 --- a/test/run_java_unit_tests.js +++ b/test/run_java_unit_tests.js @@ -1,22 +1,22 @@ #!/usr/bin/env node -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 +/** + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 + 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. + 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. */ const path = require('node:path'); diff --git a/types/index.d.ts b/types/index.d.ts index 2c076dfe..337f364b 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -7,7 +7,7 @@ "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 + 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