aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVille Voutilainen <ville.voutilainen@gmail.com>2024-09-09 15:05:19 +0300
committerGitHub <noreply@github.com>2024-09-09 15:05:19 +0300
commit83d938a7a4044d7bbf47d9507e8717a60a7f9796 (patch)
treee04a3ffd58374347923f4b392576d6e76daf7d6f
parentb81d8851a12ea87a4ad2721da04544659ac21c31 (diff)
parentd9b4f32407a580cebdc740b2313ee3355c3111c5 (diff)
Merge pull request #3 from IQomit/use_qjniobject
Licence update
-rw-r--r--compiler/src/main/java/io/github/landerlyoung/jenny/Configurations.kt16
-rw-r--r--compiler/src/main/java/io/github/landerlyoung/jenny/FieldIdDeclaration.kt16
-rw-r--r--compiler/src/main/java/io/github/landerlyoung/jenny/HandyHelper.kt1
-rw-r--r--compiler/src/main/java/io/github/landerlyoung/jenny/JteData.kt16
-rw-r--r--compiler/src/main/java/io/github/landerlyoung/jenny/MethodIdDeclaration.kt15
-rw-r--r--compiler/src/main/java/io/github/landerlyoung/jenny/MethodOverloadResolver.kt16
-rw-r--r--compiler/src/main/java/io/github/landerlyoung/jenny/NativeProxyGenerator.kt1
-rw-r--r--sample-android/templates/constructor_definition.kte14
-rw-r--r--sample-android/templates/constructors_ids_declarations.kte14
-rw-r--r--sample-android/templates/constructors_ids_initialisations.kte14
-rw-r--r--sample-android/templates/field_getter.kte14
-rw-r--r--sample-android/templates/field_setter.kte14
-rw-r--r--sample-android/templates/fields_ids_declarations.kte14
-rw-r--r--sample-android/templates/fields_ids_initialisations.kte14
-rw-r--r--sample-android/templates/header_initfunctions.kte14
-rw-r--r--sample-android/templates/header_initvars.kte14
-rw-r--r--sample-android/templates/header_postamble.kte14
-rw-r--r--sample-android/templates/header_preamble.kte14
-rw-r--r--sample-android/templates/initclass_postamble.kte14
-rw-r--r--sample-android/templates/initclass_preamble.kte16
-rw-r--r--sample-android/templates/method_definition.kte14
-rw-r--r--sample-android/templates/method_prologue.kte14
-rw-r--r--sample-android/templates/methods_ids_declarations.kte14
-rw-r--r--sample-android/templates/methods_ids_initialisations.kte14
-rw-r--r--sample-android/templates/param.kte14
25 files changed, 334 insertions, 1 deletions
diff --git a/compiler/src/main/java/io/github/landerlyoung/jenny/Configurations.kt b/compiler/src/main/java/io/github/landerlyoung/jenny/Configurations.kt
index 02fac02..7c4ca49 100644
--- a/compiler/src/main/java/io/github/landerlyoung/jenny/Configurations.kt
+++ b/compiler/src/main/java/io/github/landerlyoung/jenny/Configurations.kt
@@ -1,3 +1,19 @@
+/**
+ * Copyright (C) 2024 The Qt Company Ltd.
+ * Copyright 2016 landerlyoung@gmail.com
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package io.github.landerlyoung.jenny
/**
diff --git a/compiler/src/main/java/io/github/landerlyoung/jenny/FieldIdDeclaration.kt b/compiler/src/main/java/io/github/landerlyoung/jenny/FieldIdDeclaration.kt
index 57b8745..10e40f4 100644
--- a/compiler/src/main/java/io/github/landerlyoung/jenny/FieldIdDeclaration.kt
+++ b/compiler/src/main/java/io/github/landerlyoung/jenny/FieldIdDeclaration.kt
@@ -1,3 +1,19 @@
+/**
+ * Copyright (C) 2024 The Qt Company 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.
+ */
+
package io.github.landerlyoung.jenny
import javax.lang.model.element.VariableElement
diff --git a/compiler/src/main/java/io/github/landerlyoung/jenny/HandyHelper.kt b/compiler/src/main/java/io/github/landerlyoung/jenny/HandyHelper.kt
index 8cbb6b7..9d3f24a 100644
--- a/compiler/src/main/java/io/github/landerlyoung/jenny/HandyHelper.kt
+++ b/compiler/src/main/java/io/github/landerlyoung/jenny/HandyHelper.kt
@@ -1,4 +1,5 @@
/**
+ * Copyright (C) 2024 The Qt Company Ltd.
* Copyright 2016 landerlyoung@gmail.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/compiler/src/main/java/io/github/landerlyoung/jenny/JteData.kt b/compiler/src/main/java/io/github/landerlyoung/jenny/JteData.kt
index 4d97dfd..f56d6b0 100644
--- a/compiler/src/main/java/io/github/landerlyoung/jenny/JteData.kt
+++ b/compiler/src/main/java/io/github/landerlyoung/jenny/JteData.kt
@@ -1,3 +1,19 @@
+/**
+ * Copyright (C) 2024 The Qt Company 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.
+ */
+
package io.github.landerlyoung.jenny
import javax.lang.model.element.TypeElement
diff --git a/compiler/src/main/java/io/github/landerlyoung/jenny/MethodIdDeclaration.kt b/compiler/src/main/java/io/github/landerlyoung/jenny/MethodIdDeclaration.kt
index 8a843da..c2e8fec 100644
--- a/compiler/src/main/java/io/github/landerlyoung/jenny/MethodIdDeclaration.kt
+++ b/compiler/src/main/java/io/github/landerlyoung/jenny/MethodIdDeclaration.kt
@@ -1,3 +1,18 @@
+/**
+ * Copyright (C) 2024 The Qt Company 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.
+ */
package io.github.landerlyoung.jenny
data class MethodIdDeclaration(
diff --git a/compiler/src/main/java/io/github/landerlyoung/jenny/MethodOverloadResolver.kt b/compiler/src/main/java/io/github/landerlyoung/jenny/MethodOverloadResolver.kt
index c51299f..1e1ca5f 100644
--- a/compiler/src/main/java/io/github/landerlyoung/jenny/MethodOverloadResolver.kt
+++ b/compiler/src/main/java/io/github/landerlyoung/jenny/MethodOverloadResolver.kt
@@ -1,3 +1,19 @@
+/**
+ * Copyright (C) 2024 The Qt Company Ltd.
+ * Copyright 2016 landerlyoung@gmail.com
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package io.github.landerlyoung.jenny
import javax.lang.model.element.ExecutableElement
diff --git a/compiler/src/main/java/io/github/landerlyoung/jenny/NativeProxyGenerator.kt b/compiler/src/main/java/io/github/landerlyoung/jenny/NativeProxyGenerator.kt
index 2db02af..46d9850 100644
--- a/compiler/src/main/java/io/github/landerlyoung/jenny/NativeProxyGenerator.kt
+++ b/compiler/src/main/java/io/github/landerlyoung/jenny/NativeProxyGenerator.kt
@@ -1,4 +1,5 @@
/**
+ * Copyright (C) 2024 The Qt Company Ltd.
* Copyright 2016 landerlyoung@gmail.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/sample-android/templates/constructor_definition.kte b/sample-android/templates/constructor_definition.kte
index 91361f2..8be47c5 100644
--- a/sample-android/templates/constructor_definition.kte
+++ b/sample-android/templates/constructor_definition.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.JteData
@import io.github.landerlyoung.jenny.Constants
@import io.github.landerlyoung.jenny.HandyHelper
diff --git a/sample-android/templates/constructors_ids_declarations.kte b/sample-android/templates/constructors_ids_declarations.kte
index ad18ade..12fba87 100644
--- a/sample-android/templates/constructors_ids_declarations.kte
+++ b/sample-android/templates/constructors_ids_declarations.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.MethodIdDeclaration
@import io.github.landerlyoung.jenny.HandyHelper
@import io.github.landerlyoung.jenny.MethodOverloadResolver.MethodRecord
diff --git a/sample-android/templates/constructors_ids_initialisations.kte b/sample-android/templates/constructors_ids_initialisations.kte
index bad712b..7da147c 100644
--- a/sample-android/templates/constructors_ids_initialisations.kte
+++ b/sample-android/templates/constructors_ids_initialisations.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.MethodIdDeclaration
@import io.github.landerlyoung.jenny.HandyHelper
@import io.github.landerlyoung.jenny.MethodOverloadResolver.MethodRecord
diff --git a/sample-android/templates/field_getter.kte b/sample-android/templates/field_getter.kte
index c4a4e2e..802262f 100644
--- a/sample-android/templates/field_getter.kte
+++ b/sample-android/templates/field_getter.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.JteData
@import io.github.landerlyoung.jenny.Constants
@import io.github.landerlyoung.jenny.HandyHelper
diff --git a/sample-android/templates/field_setter.kte b/sample-android/templates/field_setter.kte
index a64a399..dc913e4 100644
--- a/sample-android/templates/field_setter.kte
+++ b/sample-android/templates/field_setter.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.JteData
@import io.github.landerlyoung.jenny.Constants
@import io.github.landerlyoung.jenny.HandyHelper
diff --git a/sample-android/templates/fields_ids_declarations.kte b/sample-android/templates/fields_ids_declarations.kte
index 6999461..2db4bc7 100644
--- a/sample-android/templates/fields_ids_declarations.kte
+++ b/sample-android/templates/fields_ids_declarations.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.FieldIdDeclaration
@import io.github.landerlyoung.jenny.HandyHelper
@import javax.lang.model.element.VariableElement
diff --git a/sample-android/templates/fields_ids_initialisations.kte b/sample-android/templates/fields_ids_initialisations.kte
index 3532f25..5da3ae7 100644
--- a/sample-android/templates/fields_ids_initialisations.kte
+++ b/sample-android/templates/fields_ids_initialisations.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.FieldIdDeclaration
@import io.github.landerlyoung.jenny.HandyHelper
@import javax.lang.model.element.VariableElement
diff --git a/sample-android/templates/header_initfunctions.kte b/sample-android/templates/header_initfunctions.kte
index 4949f36..5800dd4 100644
--- a/sample-android/templates/header_initfunctions.kte
+++ b/sample-android/templates/header_initfunctions.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.JteData
@import io.github.landerlyoung.jenny.Constants
diff --git a/sample-android/templates/header_initvars.kte b/sample-android/templates/header_initvars.kte
index b59357d..7052366 100644
--- a/sample-android/templates/header_initvars.kte
+++ b/sample-android/templates/header_initvars.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.JteData
@import io.github.landerlyoung.jenny.Constants
diff --git a/sample-android/templates/header_postamble.kte b/sample-android/templates/header_postamble.kte
index fc6b0e0..aa38040 100644
--- a/sample-android/templates/header_postamble.kte
+++ b/sample-android/templates/header_postamble.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.JteData
@import io.github.landerlyoung.jenny.Constants
diff --git a/sample-android/templates/header_preamble.kte b/sample-android/templates/header_preamble.kte
index 6d4a9c2..97e3696 100644
--- a/sample-android/templates/header_preamble.kte
+++ b/sample-android/templates/header_preamble.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.JteData
@import io.github.landerlyoung.jenny.Constants
diff --git a/sample-android/templates/initclass_postamble.kte b/sample-android/templates/initclass_postamble.kte
index 4d416c3..5183f5b 100644
--- a/sample-android/templates/initclass_postamble.kte
+++ b/sample-android/templates/initclass_postamble.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.JteData
@import io.github.landerlyoung.jenny.Constants
@import io.github.landerlyoung.jenny.HandyHelper
diff --git a/sample-android/templates/initclass_preamble.kte b/sample-android/templates/initclass_preamble.kte
index 4875ca7..20619c1 100644
--- a/sample-android/templates/initclass_preamble.kte
+++ b/sample-android/templates/initclass_preamble.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.JteData
@import io.github.landerlyoung.jenny.Constants
@import io.github.landerlyoung.jenny.HandyHelper
@@ -18,7 +32,7 @@ ${jteData.initClassPrefix} bool ${jteData.className}::initClazz(JNIEnv* env) {
@if (jteData.environment.configurations.threadSafe)
if (!state.sInited) {
std::lock_guard<std::mutex> lg(state.sInitLock);
-@endif
+@endif
if (!state.sInited) {
auto clazz = env->FindClass(FULL_CLASS_NAME);
JENNY_CHECK_NULL(clazz);
diff --git a/sample-android/templates/method_definition.kte b/sample-android/templates/method_definition.kte
index fa73750..549b207 100644
--- a/sample-android/templates/method_definition.kte
+++ b/sample-android/templates/method_definition.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.JteData
@import io.github.landerlyoung.jenny.Constants
@import io.github.landerlyoung.jenny.HandyHelper
diff --git a/sample-android/templates/method_prologue.kte b/sample-android/templates/method_prologue.kte
index 8e28bf8..b2b9c13 100644
--- a/sample-android/templates/method_prologue.kte
+++ b/sample-android/templates/method_prologue.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.JteData
@import io.github.landerlyoung.jenny.Constants
@import io.github.landerlyoung.jenny.HandyHelper
diff --git a/sample-android/templates/methods_ids_declarations.kte b/sample-android/templates/methods_ids_declarations.kte
index 2723d8c..ab39daf 100644
--- a/sample-android/templates/methods_ids_declarations.kte
+++ b/sample-android/templates/methods_ids_declarations.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.MethodIdDeclaration
@import io.github.landerlyoung.jenny.HandyHelper
@import io.github.landerlyoung.jenny.MethodOverloadResolver.MethodRecord
diff --git a/sample-android/templates/methods_ids_initialisations.kte b/sample-android/templates/methods_ids_initialisations.kte
index 7b115d4..c6722cf 100644
--- a/sample-android/templates/methods_ids_initialisations.kte
+++ b/sample-android/templates/methods_ids_initialisations.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.MethodIdDeclaration
@import io.github.landerlyoung.jenny.HandyHelper
@import io.github.landerlyoung.jenny.MethodOverloadResolver.MethodRecord
diff --git a/sample-android/templates/param.kte b/sample-android/templates/param.kte
index e788593..14789f6 100644
--- a/sample-android/templates/param.kte
+++ b/sample-android/templates/param.kte
@@ -1,3 +1,17 @@
+<%--
+ Copyright (C) 2024 The Qt Company 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 io.github.landerlyoung.jenny.JteData
@import io.github.landerlyoung.jenny.Constants