From ad7e7f8e46ceda4e8605b3d0740d9f251864c1ce Mon Sep 17 00:00:00 2001 From: wonseok Date: Mon, 18 Dec 2023 14:56:24 +0900 Subject: [PATCH] Apply Apache 2.0 License Headers to All Source Files via Spotless (#24) --- build.gradle.kts | 17 +++++++++++++++++ convention-plugins/build.gradle.kts | 15 +++++++++++++++ convention-plugins/settings.gradle.kts | 15 +++++++++++++++ .../main/kotlin/module.publication.gradle.kts | 15 +++++++++++++++ .../src/main/kotlin/root.publication.gradle.kts | 15 +++++++++++++++ peekaboo-camera/build.gradle.kts | 15 +++++++++++++++ .../camera/CameraCaptureLauncher.android.kt | 15 +++++++++++++++ .../peekaboo/camera/UuidGenerator.android.kt | 15 +++++++++++++++ .../peekaboo/camera/CameraCaptureLauncher.kt | 15 +++++++++++++++ .../com/preat/peekaboo/camera/UuidGenerator.kt | 15 +++++++++++++++ .../camera/CameraCaptureLauncher.ios.kt | 15 +++++++++++++++ .../preat/peekaboo/camera/UuidGenerator.ios.kt | 15 +++++++++++++++ peekaboo-image-picker/build.gradle.kts | 15 +++++++++++++++ .../picker/ByteArrayToImageBitmap.android.kt | 15 +++++++++++++++ .../preat/peekaboo/image/picker/ImagePicker.kt | 15 +++++++++++++++ .../image/picker/ImagePickerLauncher.android.kt | 15 +++++++++++++++ .../image/picker/ByteArrayToImageBitmap.kt | 15 +++++++++++++++ .../image/picker/ImagePickerLauncher.kt | 15 +++++++++++++++ .../image/picker/ByteArrayToImageBitmap.ios.kt | 15 +++++++++++++++ .../image/picker/ImagePickerLauncher.ios.kt | 15 +++++++++++++++ peekaboo-ui/build.gradle.kts | 15 +++++++++++++++ .../peekaboo/ui/ImageViewerFileProvider.kt | 15 +++++++++++++++ .../preat/peekaboo/ui/PeekabooCamera.android.kt | 15 +++++++++++++++ .../kotlin/com/preat/peekaboo/ui/CameraMode.kt | 15 +++++++++++++++ .../com/preat/peekaboo/ui/PeekabooCamera.kt | 15 +++++++++++++++ .../com/preat/peekaboo/ui/CameraAccess.kt | 15 +++++++++++++++ .../com/preat/peekaboo/ui/PeekabooCamera.ios.kt | 15 +++++++++++++++ sample/android/build.gradle.kts | 15 +++++++++++++++ .../peekaboo/android/ExampleInstrumentedTest.kt | 15 +++++++++++++++ .../com/preat/peekaboo/sample/MainActivity.kt | 15 +++++++++++++++ .../preat/peekaboo/android/ExampleUnitTest.kt | 15 +++++++++++++++ sample/common/build.gradle.kts | 15 +++++++++++++++ .../kotlin/com/preat/peekaboo/common/App.kt | 15 +++++++++++++++ .../com/preat/peekaboo/common/TopLayout.kt | 15 +++++++++++++++ .../peekaboo/common/component/CircularButton.kt | 15 +++++++++++++++ .../common/component/InstagramCameraButton.kt | 15 +++++++++++++++ .../preat/peekaboo/common/icon/IconArrowLeft.kt | 15 +++++++++++++++ .../preat/peekaboo/common/icon/IconCached.kt | 15 +++++++++++++++ .../com/preat/peekaboo/common/icon/IconClose.kt | 15 +++++++++++++++ .../peekaboo/common/icon/IconPhotoCamera.kt | 15 +++++++++++++++ .../preat/peekaboo/common/icon/IconWarning.kt | 15 +++++++++++++++ .../com/preat/peekaboo/common/style/Palette.kt | 15 +++++++++++++++ .../com/preat/peekaboo/common/Main.ios.kt | 15 +++++++++++++++ settings.gradle.kts | 15 +++++++++++++++ spotless/copyright.txt | 15 +++++++++++++++ 45 files changed, 677 insertions(+) create mode 100644 spotless/copyright.txt diff --git a/build.gradle.kts b/build.gradle.kts index 5ac4c99..8dc428c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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. + */ @file:Suppress("DSL_SCOPE_VIOLATION") import com.diffplug.gradle.spotless.SpotlessExtension @@ -21,11 +36,13 @@ allprojects { target("**/*.kt") targetExclude("**/build/") ktlint(libs.versions.ktlint.get()) + licenseHeaderFile(rootProject.file("spotless/copyright.txt")) } kotlinGradle { target("**/*.gradle.kts") targetExclude("**/build/") ktlint(libs.versions.ktlint.get()) + licenseHeaderFile(rootProject.file("spotless/copyright.txt"), "(^(?![\\/ ]\\*).*$)") } } diff --git a/convention-plugins/build.gradle.kts b/convention-plugins/build.gradle.kts index 2483f44..c0a1ead 100644 --- a/convention-plugins/build.gradle.kts +++ b/convention-plugins/build.gradle.kts @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ plugins { `kotlin-dsl` } diff --git a/convention-plugins/settings.gradle.kts b/convention-plugins/settings.gradle.kts index 4f9ae14..e102dd0 100644 --- a/convention-plugins/settings.gradle.kts +++ b/convention-plugins/settings.gradle.kts @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ pluginManagement { repositories { google() diff --git a/convention-plugins/src/main/kotlin/module.publication.gradle.kts b/convention-plugins/src/main/kotlin/module.publication.gradle.kts index 74a5da7..5c30f8e 100644 --- a/convention-plugins/src/main/kotlin/module.publication.gradle.kts +++ b/convention-plugins/src/main/kotlin/module.publication.gradle.kts @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 org.gradle.api.publish.maven.MavenPublication import org.gradle.api.tasks.bundling.Jar import org.gradle.kotlin.dsl.`maven-publish` diff --git a/convention-plugins/src/main/kotlin/root.publication.gradle.kts b/convention-plugins/src/main/kotlin/root.publication.gradle.kts index 35dcf8f..a3995a9 100644 --- a/convention-plugins/src/main/kotlin/root.publication.gradle.kts +++ b/convention-plugins/src/main/kotlin/root.publication.gradle.kts @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ plugins { id("io.github.gradle-nexus.publish-plugin") } diff --git a/peekaboo-camera/build.gradle.kts b/peekaboo-camera/build.gradle.kts index a0bfb0d..1cbd805 100644 --- a/peekaboo-camera/build.gradle.kts +++ b/peekaboo-camera/build.gradle.kts @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ plugins { alias(libs.plugins.kotlinMultiplatform) alias(libs.plugins.androidLibrary) diff --git a/peekaboo-camera/src/androidMain/kotlin/com/preat/peekaboo/camera/CameraCaptureLauncher.android.kt b/peekaboo-camera/src/androidMain/kotlin/com/preat/peekaboo/camera/CameraCaptureLauncher.android.kt index 6cc23fe..235badd 100644 --- a/peekaboo-camera/src/androidMain/kotlin/com/preat/peekaboo/camera/CameraCaptureLauncher.android.kt +++ b/peekaboo-camera/src/androidMain/kotlin/com/preat/peekaboo/camera/CameraCaptureLauncher.android.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.camera import android.Manifest diff --git a/peekaboo-camera/src/androidMain/kotlin/com/preat/peekaboo/camera/UuidGenerator.android.kt b/peekaboo-camera/src/androidMain/kotlin/com/preat/peekaboo/camera/UuidGenerator.android.kt index 6acd0fc..c96abbb 100644 --- a/peekaboo-camera/src/androidMain/kotlin/com/preat/peekaboo/camera/UuidGenerator.android.kt +++ b/peekaboo-camera/src/androidMain/kotlin/com/preat/peekaboo/camera/UuidGenerator.android.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.camera import java.util.UUID diff --git a/peekaboo-camera/src/commonMain/kotlin/com/preat/peekaboo/camera/CameraCaptureLauncher.kt b/peekaboo-camera/src/commonMain/kotlin/com/preat/peekaboo/camera/CameraCaptureLauncher.kt index 57f51d4..b319f32 100644 --- a/peekaboo-camera/src/commonMain/kotlin/com/preat/peekaboo/camera/CameraCaptureLauncher.kt +++ b/peekaboo-camera/src/commonMain/kotlin/com/preat/peekaboo/camera/CameraCaptureLauncher.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.camera import androidx.compose.runtime.Composable diff --git a/peekaboo-camera/src/commonMain/kotlin/com/preat/peekaboo/camera/UuidGenerator.kt b/peekaboo-camera/src/commonMain/kotlin/com/preat/peekaboo/camera/UuidGenerator.kt index 43fbc1e..6b0cc19 100644 --- a/peekaboo-camera/src/commonMain/kotlin/com/preat/peekaboo/camera/UuidGenerator.kt +++ b/peekaboo-camera/src/commonMain/kotlin/com/preat/peekaboo/camera/UuidGenerator.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.camera expect fun createUUID(): String diff --git a/peekaboo-camera/src/iosMain/kotlin/com/preat/peekaboo/camera/CameraCaptureLauncher.ios.kt b/peekaboo-camera/src/iosMain/kotlin/com/preat/peekaboo/camera/CameraCaptureLauncher.ios.kt index 765fd00..85b2e1a 100644 --- a/peekaboo-camera/src/iosMain/kotlin/com/preat/peekaboo/camera/CameraCaptureLauncher.ios.kt +++ b/peekaboo-camera/src/iosMain/kotlin/com/preat/peekaboo/camera/CameraCaptureLauncher.ios.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.camera import androidx.compose.runtime.Composable diff --git a/peekaboo-camera/src/iosMain/kotlin/com/preat/peekaboo/camera/UuidGenerator.ios.kt b/peekaboo-camera/src/iosMain/kotlin/com/preat/peekaboo/camera/UuidGenerator.ios.kt index 7a49740..69522af 100644 --- a/peekaboo-camera/src/iosMain/kotlin/com/preat/peekaboo/camera/UuidGenerator.ios.kt +++ b/peekaboo-camera/src/iosMain/kotlin/com/preat/peekaboo/camera/UuidGenerator.ios.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.camera import kotlinx.cinterop.ExperimentalForeignApi diff --git a/peekaboo-image-picker/build.gradle.kts b/peekaboo-image-picker/build.gradle.kts index 068fc24..e85a66e 100644 --- a/peekaboo-image-picker/build.gradle.kts +++ b/peekaboo-image-picker/build.gradle.kts @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ plugins { alias(libs.plugins.kotlinMultiplatform) alias(libs.plugins.androidLibrary) diff --git a/peekaboo-image-picker/src/androidMain/kotlin/com/preat/peekaboo/image/picker/ByteArrayToImageBitmap.android.kt b/peekaboo-image-picker/src/androidMain/kotlin/com/preat/peekaboo/image/picker/ByteArrayToImageBitmap.android.kt index a53b9b7..9c0d407 100644 --- a/peekaboo-image-picker/src/androidMain/kotlin/com/preat/peekaboo/image/picker/ByteArrayToImageBitmap.android.kt +++ b/peekaboo-image-picker/src/androidMain/kotlin/com/preat/peekaboo/image/picker/ByteArrayToImageBitmap.android.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.image.picker import android.graphics.BitmapFactory diff --git a/peekaboo-image-picker/src/androidMain/kotlin/com/preat/peekaboo/image/picker/ImagePicker.kt b/peekaboo-image-picker/src/androidMain/kotlin/com/preat/peekaboo/image/picker/ImagePicker.kt index 7e143ac..08643f7 100644 --- a/peekaboo-image-picker/src/androidMain/kotlin/com/preat/peekaboo/image/picker/ImagePicker.kt +++ b/peekaboo-image-picker/src/androidMain/kotlin/com/preat/peekaboo/image/picker/ImagePicker.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.image.picker import android.annotation.SuppressLint diff --git a/peekaboo-image-picker/src/androidMain/kotlin/com/preat/peekaboo/image/picker/ImagePickerLauncher.android.kt b/peekaboo-image-picker/src/androidMain/kotlin/com/preat/peekaboo/image/picker/ImagePickerLauncher.android.kt index 550852c..66b38c2 100644 --- a/peekaboo-image-picker/src/androidMain/kotlin/com/preat/peekaboo/image/picker/ImagePickerLauncher.android.kt +++ b/peekaboo-image-picker/src/androidMain/kotlin/com/preat/peekaboo/image/picker/ImagePickerLauncher.android.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.image.picker import androidx.activity.compose.rememberLauncherForActivityResult diff --git a/peekaboo-image-picker/src/commonMain/kotlin/com/preat/peekaboo/image/picker/ByteArrayToImageBitmap.kt b/peekaboo-image-picker/src/commonMain/kotlin/com/preat/peekaboo/image/picker/ByteArrayToImageBitmap.kt index c2e46ec..e2cd7a7 100644 --- a/peekaboo-image-picker/src/commonMain/kotlin/com/preat/peekaboo/image/picker/ByteArrayToImageBitmap.kt +++ b/peekaboo-image-picker/src/commonMain/kotlin/com/preat/peekaboo/image/picker/ByteArrayToImageBitmap.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.image.picker import androidx.compose.ui.graphics.ImageBitmap diff --git a/peekaboo-image-picker/src/commonMain/kotlin/com/preat/peekaboo/image/picker/ImagePickerLauncher.kt b/peekaboo-image-picker/src/commonMain/kotlin/com/preat/peekaboo/image/picker/ImagePickerLauncher.kt index d8a9eaa..84a7096 100644 --- a/peekaboo-image-picker/src/commonMain/kotlin/com/preat/peekaboo/image/picker/ImagePickerLauncher.kt +++ b/peekaboo-image-picker/src/commonMain/kotlin/com/preat/peekaboo/image/picker/ImagePickerLauncher.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.image.picker import androidx.compose.runtime.Composable diff --git a/peekaboo-image-picker/src/iosMain/kotlin/com/preat/peekaboo/image/picker/ByteArrayToImageBitmap.ios.kt b/peekaboo-image-picker/src/iosMain/kotlin/com/preat/peekaboo/image/picker/ByteArrayToImageBitmap.ios.kt index f0c3672..737ad07 100644 --- a/peekaboo-image-picker/src/iosMain/kotlin/com/preat/peekaboo/image/picker/ByteArrayToImageBitmap.ios.kt +++ b/peekaboo-image-picker/src/iosMain/kotlin/com/preat/peekaboo/image/picker/ByteArrayToImageBitmap.ios.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.image.picker import androidx.compose.ui.graphics.ImageBitmap diff --git a/peekaboo-image-picker/src/iosMain/kotlin/com/preat/peekaboo/image/picker/ImagePickerLauncher.ios.kt b/peekaboo-image-picker/src/iosMain/kotlin/com/preat/peekaboo/image/picker/ImagePickerLauncher.ios.kt index cb60631..1382ced 100644 --- a/peekaboo-image-picker/src/iosMain/kotlin/com/preat/peekaboo/image/picker/ImagePickerLauncher.ios.kt +++ b/peekaboo-image-picker/src/iosMain/kotlin/com/preat/peekaboo/image/picker/ImagePickerLauncher.ios.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.image.picker import androidx.compose.runtime.Composable diff --git a/peekaboo-ui/build.gradle.kts b/peekaboo-ui/build.gradle.kts index 58d7388..94af9b6 100644 --- a/peekaboo-ui/build.gradle.kts +++ b/peekaboo-ui/build.gradle.kts @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ plugins { alias(libs.plugins.kotlinMultiplatform) alias(libs.plugins.androidLibrary) diff --git a/peekaboo-ui/src/androidMain/kotlin/com/preat/peekaboo/ui/ImageViewerFileProvider.kt b/peekaboo-ui/src/androidMain/kotlin/com/preat/peekaboo/ui/ImageViewerFileProvider.kt index 43e1dfe..a0510ac 100644 --- a/peekaboo-ui/src/androidMain/kotlin/com/preat/peekaboo/ui/ImageViewerFileProvider.kt +++ b/peekaboo-ui/src/androidMain/kotlin/com/preat/peekaboo/ui/ImageViewerFileProvider.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.ui import androidx.core.content.FileProvider diff --git a/peekaboo-ui/src/androidMain/kotlin/com/preat/peekaboo/ui/PeekabooCamera.android.kt b/peekaboo-ui/src/androidMain/kotlin/com/preat/peekaboo/ui/PeekabooCamera.android.kt index 8279137..824be05 100644 --- a/peekaboo-ui/src/androidMain/kotlin/com/preat/peekaboo/ui/PeekabooCamera.android.kt +++ b/peekaboo-ui/src/androidMain/kotlin/com/preat/peekaboo/ui/PeekabooCamera.android.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.ui import android.graphics.Bitmap diff --git a/peekaboo-ui/src/commonMain/kotlin/com/preat/peekaboo/ui/CameraMode.kt b/peekaboo-ui/src/commonMain/kotlin/com/preat/peekaboo/ui/CameraMode.kt index 5bb611a..ba2c522 100644 --- a/peekaboo-ui/src/commonMain/kotlin/com/preat/peekaboo/ui/CameraMode.kt +++ b/peekaboo-ui/src/commonMain/kotlin/com/preat/peekaboo/ui/CameraMode.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.ui /** diff --git a/peekaboo-ui/src/commonMain/kotlin/com/preat/peekaboo/ui/PeekabooCamera.kt b/peekaboo-ui/src/commonMain/kotlin/com/preat/peekaboo/ui/PeekabooCamera.kt index ed1a631..5b153d0 100644 --- a/peekaboo-ui/src/commonMain/kotlin/com/preat/peekaboo/ui/PeekabooCamera.kt +++ b/peekaboo-ui/src/commonMain/kotlin/com/preat/peekaboo/ui/PeekabooCamera.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.ui import androidx.compose.runtime.Composable diff --git a/peekaboo-ui/src/iosMain/kotlin/com/preat/peekaboo/ui/CameraAccess.kt b/peekaboo-ui/src/iosMain/kotlin/com/preat/peekaboo/ui/CameraAccess.kt index ae9b677..a11c67c 100644 --- a/peekaboo-ui/src/iosMain/kotlin/com/preat/peekaboo/ui/CameraAccess.kt +++ b/peekaboo-ui/src/iosMain/kotlin/com/preat/peekaboo/ui/CameraAccess.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.ui internal sealed interface CameraAccess { diff --git a/peekaboo-ui/src/iosMain/kotlin/com/preat/peekaboo/ui/PeekabooCamera.ios.kt b/peekaboo-ui/src/iosMain/kotlin/com/preat/peekaboo/ui/PeekabooCamera.ios.kt index c4d3d46..0ae5457 100644 --- a/peekaboo-ui/src/iosMain/kotlin/com/preat/peekaboo/ui/PeekabooCamera.ios.kt +++ b/peekaboo-ui/src/iosMain/kotlin/com/preat/peekaboo/ui/PeekabooCamera.ios.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.ui import androidx.compose.foundation.background diff --git a/sample/android/build.gradle.kts b/sample/android/build.gradle.kts index 173dd32..a708632 100644 --- a/sample/android/build.gradle.kts +++ b/sample/android/build.gradle.kts @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ plugins { alias(libs.plugins.composeMultiplatform) alias(libs.plugins.androidApplication) diff --git a/sample/android/src/androidTest/java/com/preat/peekaboo/android/ExampleInstrumentedTest.kt b/sample/android/src/androidTest/java/com/preat/peekaboo/android/ExampleInstrumentedTest.kt index 7260d05..e5f522c 100644 --- a/sample/android/src/androidTest/java/com/preat/peekaboo/android/ExampleInstrumentedTest.kt +++ b/sample/android/src/androidTest/java/com/preat/peekaboo/android/ExampleInstrumentedTest.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.android import androidx.test.ext.junit.runners.AndroidJUnit4 diff --git a/sample/android/src/main/java/com/preat/peekaboo/sample/MainActivity.kt b/sample/android/src/main/java/com/preat/peekaboo/sample/MainActivity.kt index ed03f24..869c69c 100644 --- a/sample/android/src/main/java/com/preat/peekaboo/sample/MainActivity.kt +++ b/sample/android/src/main/java/com/preat/peekaboo/sample/MainActivity.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.sample import android.os.Bundle diff --git a/sample/android/src/test/java/com/preat/peekaboo/android/ExampleUnitTest.kt b/sample/android/src/test/java/com/preat/peekaboo/android/ExampleUnitTest.kt index 15ffdec..1a28649 100644 --- a/sample/android/src/test/java/com/preat/peekaboo/android/ExampleUnitTest.kt +++ b/sample/android/src/test/java/com/preat/peekaboo/android/ExampleUnitTest.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.android import org.junit.Assert.assertEquals diff --git a/sample/common/build.gradle.kts b/sample/common/build.gradle.kts index deb68f8..a906698 100644 --- a/sample/common/build.gradle.kts +++ b/sample/common/build.gradle.kts @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ plugins { alias(libs.plugins.kotlinMultiplatform) alias(libs.plugins.composeMultiplatform) diff --git a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/App.kt b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/App.kt index ce05b66..2e00f00 100644 --- a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/App.kt +++ b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/App.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.common import androidx.compose.foundation.Image diff --git a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/TopLayout.kt b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/TopLayout.kt index a193c96..eed35bb 100644 --- a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/TopLayout.kt +++ b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/TopLayout.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.common import androidx.compose.foundation.layout.Box diff --git a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/component/CircularButton.kt b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/component/CircularButton.kt index 350882b..85312bd 100644 --- a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/component/CircularButton.kt +++ b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/component/CircularButton.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.common.component import androidx.compose.foundation.background diff --git a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/component/InstagramCameraButton.kt b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/component/InstagramCameraButton.kt index 51818a3..92cf0e5 100644 --- a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/component/InstagramCameraButton.kt +++ b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/component/InstagramCameraButton.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.common.component import androidx.compose.foundation.BorderStroke diff --git a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconArrowLeft.kt b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconArrowLeft.kt index 956a12f..6b62e71 100644 --- a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconArrowLeft.kt +++ b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconArrowLeft.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.common.icon import androidx.compose.material.icons.materialIcon diff --git a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconCached.kt b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconCached.kt index 652f80a..ef20f3d 100644 --- a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconCached.kt +++ b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconCached.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.common.icon import androidx.compose.material.icons.materialIcon diff --git a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconClose.kt b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconClose.kt index ce3d4b3..03e2e41 100644 --- a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconClose.kt +++ b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconClose.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.common.icon import androidx.compose.material.icons.materialIcon diff --git a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconPhotoCamera.kt b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconPhotoCamera.kt index b2d0ac1..731f6a9 100644 --- a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconPhotoCamera.kt +++ b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconPhotoCamera.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.common.icon import androidx.compose.material.icons.materialIcon diff --git a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconWarning.kt b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconWarning.kt index 75a923e..ea49df6 100644 --- a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconWarning.kt +++ b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/icon/IconWarning.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.common.icon import androidx.compose.material.icons.materialIcon diff --git a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/style/Palette.kt b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/style/Palette.kt index 8f0588d..7722bd7 100755 --- a/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/style/Palette.kt +++ b/sample/common/src/commonMain/kotlin/com/preat/peekaboo/common/style/Palette.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 com.preat.peekaboo.common.style import androidx.compose.foundation.isSystemInDarkTheme diff --git a/sample/common/src/iosMain/kotlin/com/preat/peekaboo/common/Main.ios.kt b/sample/common/src/iosMain/kotlin/com/preat/peekaboo/common/Main.ios.kt index 4d6bcbb..aa33e66 100644 --- a/sample/common/src/iosMain/kotlin/com/preat/peekaboo/common/Main.ios.kt +++ b/sample/common/src/iosMain/kotlin/com/preat/peekaboo/common/Main.ios.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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 androidx.compose.ui.window.ComposeUIViewController import com.preat.peekaboo.common.App import platform.UIKit.UIViewController diff --git a/settings.gradle.kts b/settings.gradle.kts index 1b0f744..8cb7eab 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,3 +1,18 @@ +/* + * Copyright 2023 onseok + * + * 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. + */ enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") pluginManagement { includeBuild("convention-plugins") diff --git a/spotless/copyright.txt b/spotless/copyright.txt new file mode 100644 index 0000000..89b18f2 --- /dev/null +++ b/spotless/copyright.txt @@ -0,0 +1,15 @@ +/* + * Copyright $YEAR onseok + * + * 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. + */