diff --git a/OAT.xml b/OAT.xml index 425bab43e50dc24c3f29d19b9bbf94925425823b..c34bc2d7af4a8c0ed9aaa5348dfc40e1c6393e21 100644 --- a/OAT.xml +++ b/OAT.xml @@ -104,6 +104,11 @@ + + + + + diff --git a/example/ohos/entry/build-profile.json5 b/example/ohos/entry/build-profile.json5 index d4eb8338607d9a94b31ba33948ed5179f07e76bb..20c75049f2d45e57d267899b6547c79fb6aa84c1 100644 --- a/example/ohos/entry/build-profile.json5 +++ b/example/ohos/entry/build-profile.json5 @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * 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. - */ - { "apiType": 'stageMode', "buildOption": { diff --git a/example/ohos/entry/hvigorfile.ts b/example/ohos/entry/hvigorfile.ts index 5e7108ae1d15631f1a0278910ea31946503d3dee..80e4ec5b81689f238c34614b167a0b9e9c83e8d9 100644 --- a/example/ohos/entry/hvigorfile.ts +++ b/example/ohos/entry/hvigorfile.ts @@ -1,17 +1,2 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * 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. - */ - // Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently. export { hapTasks } from '@ohos/hvigor-ohos-plugin'; diff --git a/example/ohos/entry/src/main/module.json5 b/example/ohos/entry/src/main/module.json5 index 63ae86af5516e85791e004b35e95eb3e8ce23ddc..1907287490006721d809d991e51e0adcd0ccabfc 100644 --- a/example/ohos/entry/src/main/module.json5 +++ b/example/ohos/entry/src/main/module.json5 @@ -1,17 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * 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. - */ { "module": { "name": "entry", diff --git a/example/ohos/entry/src/ohosTest/ets/test/Ability.test.ets b/example/ohos/entry/src/ohosTest/ets/test/Ability.test.ets index 7b6a10b5f84b485df6a4ba6d80fe8fc6712e51d2..8abf7f2f44c0e56110df8c09b2524a4ca37bc993 100644 --- a/example/ohos/entry/src/ohosTest/ets/test/Ability.test.ets +++ b/example/ohos/entry/src/ohosTest/ets/test/Ability.test.ets @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import hilog from '@ohos.hilog'; import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' diff --git a/example/ohos/entry/src/ohosTest/ets/test/List.test.ets b/example/ohos/entry/src/ohosTest/ets/test/List.test.ets index b399d60709a4322d50da0f3f6a98d696a053736f..d766fe249dfc3ada636f27e64d9b64451ce32c93 100644 --- a/example/ohos/entry/src/ohosTest/ets/test/List.test.ets +++ b/example/ohos/entry/src/ohosTest/ets/test/List.test.ets @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import abilityTest from './Ability.test' export default function testsuite() { diff --git a/example/ohos/entry/src/ohosTest/ets/testability/TestAbility.ets b/example/ohos/entry/src/ohosTest/ets/testability/TestAbility.ets index 147c1063bb2ab3eaeafc74cbb12308edd133bd8a..e3f6e911d3fffba1e1795c60ed1ee4db15b386fd 100644 --- a/example/ohos/entry/src/ohosTest/ets/testability/TestAbility.ets +++ b/example/ohos/entry/src/ohosTest/ets/testability/TestAbility.ets @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import UIAbility from '@ohos.app.ability.UIAbility'; import AbilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry'; import hilog from '@ohos.hilog'; diff --git a/example/ohos/entry/src/ohosTest/ets/testability/pages/Index.ets b/example/ohos/entry/src/ohosTest/ets/testability/pages/Index.ets index d935d08e675c3397dd82aacc82ab465356ed5032..166366593a7e55ef17e6619f68a4c46214814858 100644 --- a/example/ohos/entry/src/ohosTest/ets/testability/pages/Index.ets +++ b/example/ohos/entry/src/ohosTest/ets/testability/pages/Index.ets @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import hilog from '@ohos.hilog'; @Entry diff --git a/example/ohos/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts b/example/ohos/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts index 93df354af774b5ee68c7ab5841af5c4ede8e3bd9..92a16d84e8870da219c51d9f1342c79203c1f42d 100644 --- a/example/ohos/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts +++ b/example/ohos/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import hilog from '@ohos.hilog'; import TestRunner from '@ohos.application.testRunner'; import AbilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry'; diff --git a/example/ohos/entry/src/ohosTest/module.json5 b/example/ohos/entry/src/ohosTest/module.json5 index 702f02ac4cb09f00c88d3cccefaabe249cfad3f6..87631d3a1063ffadf6d6d73835cc89e49cad410f 100644 --- a/example/ohos/entry/src/ohosTest/module.json5 +++ b/example/ohos/entry/src/ohosTest/module.json5 @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * 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. - */ - { "module": { "name": "entry_test", diff --git a/example/ohos/hvigor/hvigor-config.json5 b/example/ohos/hvigor/hvigor-config.json5 index a4f62f0d6c5722e0d27e35ef9e052c5ccc9d80d3..f70ecd4112d94f9aa555adf898d53f18bf58f3e9 100644 --- a/example/ohos/hvigor/hvigor-config.json5 +++ b/example/ohos/hvigor/hvigor-config.json5 @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * 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. - */ - { "modelVersion": "5.0.0", "dependencies": { diff --git a/example/ohos/hvigorfile.ts b/example/ohos/hvigorfile.ts index e73f4fe7cdeca99f22952bf733801f18f94621e6..0a7e3d8d74177458336fa2f524032b873cbe9552 100644 --- a/example/ohos/hvigorfile.ts +++ b/example/ohos/hvigorfile.ts @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import { appTasks } from '@ohos/hvigor-ohos-plugin'; export default { diff --git a/ohos/build-profile.json5 b/ohos/build-profile.json5 index b5cf54176f8d80660aec9b1757d42ce5b50b2267..79961f96a6fe0507354b7952a378c3be2ae4bfab 100644 --- a/ohos/build-profile.json5 +++ b/ohos/build-profile.json5 @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * 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. - */ - { "apiType": "stageMode", "buildOption": { diff --git a/ohos/hvigorfile.ts b/ohos/hvigorfile.ts index 5cdfdb9dcf894f0a1c8e3e6bac99341cdb273f27..47e6e1f81d365872f101585f5dbf816bcad65864 100644 --- a/ohos/hvigorfile.ts +++ b/ohos/hvigorfile.ts @@ -1,17 +1,2 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * 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. - */ - // Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently. export { harTasks } from '@ohos/hvigor-ohos-plugin'; \ No newline at end of file diff --git a/ohos/index.ets b/ohos/index.ets index eddb428e50c6a0f20f306749585a0910e64ec000..172cdb2d2085d8e8ca9a44ceb584f66a24618ebf 100644 --- a/ohos/index.ets +++ b/ohos/index.ets @@ -1,17 +1,2 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import ImagecropPlugin from './src/main/ets/components/plugin/ImagecropPlugin'; export default ImagecropPlugin; diff --git a/ohos/oh-package.json5 b/ohos/oh-package.json5 index 3acf5cbfbe14d288c7bc733b7b824faaa7f48068..779e0ebee919bda586f3aca2720af70219a5156c 100644 --- a/ohos/oh-package.json5 +++ b/ohos/oh-package.json5 @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * 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. - */ - { "name": "image_crop", "version": "1.0.0", diff --git a/ohos/src/main/ets/components/plugin/ImagecropPlugin.ets b/ohos/src/main/ets/components/plugin/ImagecropPlugin.ets index 5164c2b492b3e13e1c8cd5d5c3d8e104e14d1fea..23fd8573302f3bd3f21bc7fa06de9bab2cac0361 100644 --- a/ohos/src/main/ets/components/plugin/ImagecropPlugin.ets +++ b/ohos/src/main/ets/components/plugin/ImagecropPlugin.ets @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import { FlutterPlugin, FlutterPluginBinding diff --git a/ohos/src/main/module.json5 b/ohos/src/main/module.json5 index c4e274216d70f70643640aa80ca08aede189a18f..b2346390a2bc7468093e67caba5e55ed30303548 100644 --- a/ohos/src/main/module.json5 +++ b/ohos/src/main/module.json5 @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * 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. - */ - { "module": { "name": "image_crop", diff --git a/ohos/src/test/List.test.ets b/ohos/src/test/List.test.ets index 93d49a34c7c9fdb9924b9077e21f174107983cae..12ddf6a9a9e09489e6c97403e95cb9ae8acccd9d 100644 --- a/ohos/src/test/List.test.ets +++ b/ohos/src/test/List.test.ets @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import localUnitTest from './LocalUnit.test'; export default function testsuite() { diff --git a/ohos/src/test/LocalUnit.test.ets b/ohos/src/test/LocalUnit.test.ets index 3059cb42d1c90d97e2d0ccd09a79666da2643edf..0ff1b637bfd318d84ac57ef0d6e44d6f41369f47 100644 --- a/ohos/src/test/LocalUnit.test.ets +++ b/ohos/src/test/LocalUnit.test.ets @@ -1,18 +1,3 @@ -/** - * Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; export default function localUnitTest() {