diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..0cc4bbc0 --- /dev/null +++ b/LICENSE @@ -0,0 +1,25 @@ +Copyright (c) 2021-present Harsh Shandilya + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 30e95e68..7535c1b1 100644 --- a/README.md +++ b/README.md @@ -16,30 +16,4 @@ Snapshots from the development branch can be obtained [here](https://github.com/ ## License -``` -Copyright (c) 2021 Harsh Shandilya - -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. -``` +See [LICENSE](LICENSE) diff --git a/android/build.gradle.kts b/android/build.gradle.kts index 61d62bef..1eb7c58d 100644 --- a/android/build.gradle.kts +++ b/android/build.gradle.kts @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") import dagger.hilt.android.plugin.HiltExtension diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/ClawApplication.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/ClawApplication.kt index 43ebe7b1..572cae63 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/ClawApplication.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/ClawApplication.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android import android.app.Application diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/MainActivity.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/MainActivity.kt index 2c98f16f..c50e33fc 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/MainActivity.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/MainActivity.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android import android.app.assist.AssistContent diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/ApiModule.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/ApiModule.kt index 4a30b17c..8d36b724 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/ApiModule.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/ApiModule.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.injection import com.jakewharton.retrofit2.converter.kotlinx.serialization.asConverterFactory diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/CoroutineDispatcherModule.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/CoroutineDispatcherModule.kt index 0cbc1145..53290067 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/CoroutineDispatcherModule.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/CoroutineDispatcherModule.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.injection import dagger.Binds diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/DatabaseModule.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/DatabaseModule.kt index ee7dba84..615244a9 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/DatabaseModule.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/DatabaseModule.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.injection import android.content.Context diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/HTMLConverterModule.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/HTMLConverterModule.kt index 55a90cb4..527d5583 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/HTMLConverterModule.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/HTMLConverterModule.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.injection import dagger.Module diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/MetadataExtractorModule.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/MetadataExtractorModule.kt index fe11438c..a467ace0 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/MetadataExtractorModule.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/MetadataExtractorModule.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.injection import com.chimbori.crux.Crux diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/OkHttpModule.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/OkHttpModule.kt index 9e10f33b..ceb48858 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/OkHttpModule.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/OkHttpModule.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.injection import android.content.Context diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/UrlLauncherModule.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/UrlLauncherModule.kt index 3ff3bce0..74f83567 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/UrlLauncherModule.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/UrlLauncherModule.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.injection import android.content.Context diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/annotations.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/annotations.kt index 50cb2bf8..7bb55a19 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/annotations.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/annotations.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.injection import javax.inject.Qualifier diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/network/DelegatingSocketFactory.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/network/DelegatingSocketFactory.kt index 55c1d974..bb1b1865 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/network/DelegatingSocketFactory.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/network/DelegatingSocketFactory.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.network import java.net.InetAddress diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/network/NapierLogger.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/network/NapierLogger.kt index e3e1df46..7aa71509 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/network/NapierLogger.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/network/NapierLogger.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.network import io.github.aakira.napier.Napier diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/network/UserAgentInterceptor.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/network/UserAgentInterceptor.kt index ca2e57c7..4ef3cdc1 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/network/UserAgentInterceptor.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/network/UserAgentInterceptor.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.network import dev.msfjarvis.claw.android.BuildConfig diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/paging/LobstersPagingSource.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/paging/LobstersPagingSource.kt index e72116d8..0cc5a939 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/paging/LobstersPagingSource.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/paging/LobstersPagingSource.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.paging import androidx.paging.PagingSource diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/paging/RemoteFetcher.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/paging/RemoteFetcher.kt index 939126da..897a9e1c 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/paging/RemoteFetcher.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/paging/RemoteFetcher.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.paging import com.slack.eithernet.ApiResult diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/LobstersApp.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/LobstersApp.kt index 685bf967..9f266964 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/LobstersApp.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/LobstersApp.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.ui import androidx.compose.animation.ExperimentalAnimationApi diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/decorations/ClawNavigationBar.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/decorations/ClawNavigationBar.kt index 6f4df4fc..8fd1cb6f 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/decorations/ClawNavigationBar.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/decorations/ClawNavigationBar.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.ui.decorations import androidx.compose.animation.AnimatedVisibility diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/ext.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/ext.kt index ec2e6fb7..c0916a50 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/ext.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/ext.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.ui import android.content.Context diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/lists/DatabasePosts.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/lists/DatabasePosts.kt index f770061a..bdbebce9 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/lists/DatabasePosts.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/lists/DatabasePosts.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.ui.lists import androidx.compose.foundation.ExperimentalFoundationApi diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/lists/ListItem.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/lists/ListItem.kt index b3c760f4..182d4f71 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/lists/ListItem.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/lists/ListItem.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.ui.lists import androidx.compose.runtime.Composable diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/lists/NetworkPosts.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/lists/NetworkPosts.kt index 17a0e0de..e19a0012 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/lists/NetworkPosts.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/lists/NetworkPosts.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.ui.lists import androidx.compose.foundation.layout.Box diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/navigation/Destinations.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/navigation/Destinations.kt index 269e0fd6..60b1d052 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/navigation/Destinations.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/navigation/Destinations.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.ui.navigation sealed class Destinations { diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/viewmodel/ClawViewModel.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/viewmodel/ClawViewModel.kt index 9a83c8ce..a1077235 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/viewmodel/ClawViewModel.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/viewmodel/ClawViewModel.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.viewmodel import androidx.lifecycle.ViewModel diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/viewmodel/LinkMetadataRepository.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/viewmodel/LinkMetadataRepository.kt index 5b76fe31..41297c58 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/viewmodel/LinkMetadataRepository.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/viewmodel/LinkMetadataRepository.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.viewmodel import dev.msfjarvis.claw.metadata.MetadataExtractor diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/viewmodel/SavedPostsRepository.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/viewmodel/SavedPostsRepository.kt index 0fa387a4..9850ba52 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/viewmodel/SavedPostsRepository.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/viewmodel/SavedPostsRepository.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.viewmodel import app.cash.sqldelight.coroutines.asFlow diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/work/SavedPostUpdaterWorker.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/work/SavedPostUpdaterWorker.kt index 3589296a..8689a142 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/work/SavedPostUpdaterWorker.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/work/SavedPostUpdaterWorker.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.android.work import android.content.Context diff --git a/api/build.gradle.kts b/api/build.gradle.kts index e8f3f19a..e9b2229e 100644 --- a/api/build.gradle.kts +++ b/api/build.gradle.kts @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") plugins { diff --git a/api/src/main/kotlin/dev/msfjarvis/claw/api/LobstersApi.kt b/api/src/main/kotlin/dev/msfjarvis/claw/api/LobstersApi.kt index 9445c705..d0dc6214 100644 --- a/api/src/main/kotlin/dev/msfjarvis/claw/api/LobstersApi.kt +++ b/api/src/main/kotlin/dev/msfjarvis/claw/api/LobstersApi.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.api import com.slack.eithernet.ApiResult diff --git a/api/src/test/kotlin/dev/msfjarvis/claw/api/ApiTest.kt b/api/src/test/kotlin/dev/msfjarvis/claw/api/ApiTest.kt index 73bc68f7..3ec8a0dd 100644 --- a/api/src/test/kotlin/dev/msfjarvis/claw/api/ApiTest.kt +++ b/api/src/test/kotlin/dev/msfjarvis/claw/api/ApiTest.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.api import com.slack.eithernet.ApiResult.Success diff --git a/api/src/test/kotlin/dev/msfjarvis/claw/api/ApiWrapper.kt b/api/src/test/kotlin/dev/msfjarvis/claw/api/ApiWrapper.kt index ba14c904..e42bb2d7 100644 --- a/api/src/test/kotlin/dev/msfjarvis/claw/api/ApiWrapper.kt +++ b/api/src/test/kotlin/dev/msfjarvis/claw/api/ApiWrapper.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.api import com.slack.eithernet.ApiResult.Companion.success diff --git a/api/src/test/kotlin/dev/msfjarvis/claw/util/TestUtils.kt b/api/src/test/kotlin/dev/msfjarvis/claw/util/TestUtils.kt index 2f7513ca..655d7c67 100644 --- a/api/src/test/kotlin/dev/msfjarvis/claw/util/TestUtils.kt +++ b/api/src/test/kotlin/dev/msfjarvis/claw/util/TestUtils.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.util import java.io.File diff --git a/benchmark/build.gradle.kts b/benchmark/build.gradle.kts index 3dd1a669..e768bcf2 100644 --- a/benchmark/build.gradle.kts +++ b/benchmark/build.gradle.kts @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") plugins { diff --git a/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BaselineProfileBenchmark.kt b/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BaselineProfileBenchmark.kt index 263f75e4..567d2c84 100644 --- a/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BaselineProfileBenchmark.kt +++ b/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BaselineProfileBenchmark.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.benchmark import androidx.benchmark.macro.BaselineProfileMode diff --git a/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BaselineProfileGenerator.kt b/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BaselineProfileGenerator.kt index 7d667404..875ea9b9 100644 --- a/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BaselineProfileGenerator.kt +++ b/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BaselineProfileGenerator.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.benchmark import androidx.benchmark.macro.ExperimentalBaselineProfilesApi diff --git a/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BenchmarkUtils.kt b/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BenchmarkUtils.kt index 964aee42..803ab652 100644 --- a/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BenchmarkUtils.kt +++ b/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BenchmarkUtils.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.benchmark import androidx.benchmark.macro.MacrobenchmarkScope diff --git a/build-logic/android-plugins/build.gradle.kts b/build-logic/android-plugins/build.gradle.kts index 825ccb0f..25d70b66 100644 --- a/build-logic/android-plugins/build.gradle.kts +++ b/build-logic/android-plugins/build.gradle.kts @@ -1,8 +1,9 @@ /* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. - * SPDX-License-Identifier: GPL-3.0-only + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. */ - import org.gradle.api.JavaVersion import org.gradle.api.tasks.compile.JavaCompile import org.gradle.kotlin.dsl.withType diff --git a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/AndroidCommonPlugin.kt b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/AndroidCommonPlugin.kt index 0b530264..1ae8f4c8 100644 --- a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/AndroidCommonPlugin.kt +++ b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/AndroidCommonPlugin.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.aps.gradle import com.android.build.api.dsl.TestExtension diff --git a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/ApplicationPlugin.kt b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/ApplicationPlugin.kt index 161e83e3..6f43d9a2 100644 --- a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/ApplicationPlugin.kt +++ b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/ApplicationPlugin.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress("UnstableApiUsage") package dev.msfjarvis.aps.gradle diff --git a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/LibraryPlugin.kt b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/LibraryPlugin.kt index d275015c..519d2d26 100644 --- a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/LibraryPlugin.kt +++ b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/LibraryPlugin.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.aps.gradle import com.android.build.gradle.LibraryPlugin diff --git a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/RenameArtifactsPlugin.kt b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/RenameArtifactsPlugin.kt index 38ba1354..80462706 100644 --- a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/RenameArtifactsPlugin.kt +++ b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/RenameArtifactsPlugin.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.aps.gradle import com.android.build.api.artifact.SingleArtifact diff --git a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/artifacts/CollectApksTask.kt b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/artifacts/CollectApksTask.kt index efaf7ce1..1d3465a8 100644 --- a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/artifacts/CollectApksTask.kt +++ b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/artifacts/CollectApksTask.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.aps.gradle.artifacts import com.android.build.api.variant.BuiltArtifactsLoader diff --git a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/artifacts/CollectBundleTask.kt b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/artifacts/CollectBundleTask.kt index a771b818..2ba384e9 100644 --- a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/artifacts/CollectBundleTask.kt +++ b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/artifacts/CollectBundleTask.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.aps.gradle.artifacts import java.io.File diff --git a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/signing/AppSigning.kt b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/signing/AppSigning.kt index 8da96230..af9eea72 100644 --- a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/signing/AppSigning.kt +++ b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/signing/AppSigning.kt @@ -1,8 +1,9 @@ /* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. - * SPDX-License-Identifier: GPL-3.0-only + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. */ - package dev.msfjarvis.aps.gradle.signing import com.android.build.gradle.internal.dsl.BaseAppModuleExtension diff --git a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/versioning/Constants.kt b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/versioning/Constants.kt index 46b8ccf9..571cd30e 100644 --- a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/versioning/Constants.kt +++ b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/versioning/Constants.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.aps.gradle.versioning const val VERSIONING_PROP_FILE = "version.properties" diff --git a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/versioning/VersioningPlugin.kt b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/versioning/VersioningPlugin.kt index 7863808a..61b518cd 100644 --- a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/versioning/VersioningPlugin.kt +++ b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/versioning/VersioningPlugin.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.aps.gradle.versioning import com.android.build.api.variant.ApplicationAndroidComponentsExtension diff --git a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/versioning/VersioningTask.kt b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/versioning/VersioningTask.kt index 3e026564..6c3da0a9 100644 --- a/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/versioning/VersioningTask.kt +++ b/build-logic/android-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/versioning/VersioningTask.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.aps.gradle.versioning import com.vdurmont.semver4j.Semver diff --git a/build-logic/kotlin-plugins/build.gradle.kts b/build-logic/kotlin-plugins/build.gradle.kts index 41155408..21a78148 100644 --- a/build-logic/kotlin-plugins/build.gradle.kts +++ b/build-logic/kotlin-plugins/build.gradle.kts @@ -1,8 +1,9 @@ /* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. - * SPDX-License-Identifier: GPL-3.0-only + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. */ - import org.gradle.api.JavaVersion import org.gradle.api.tasks.compile.JavaCompile import org.gradle.kotlin.dsl.withType diff --git a/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/DependencyUpdatesPlugin.kt b/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/DependencyUpdatesPlugin.kt index c19a971a..f51804b3 100644 --- a/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/DependencyUpdatesPlugin.kt +++ b/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/DependencyUpdatesPlugin.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.aps.gradle import com.github.benmanes.gradle.versions.VersionsPlugin diff --git a/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/Detekt.kt b/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/Detekt.kt index 75a0887a..629745b2 100644 --- a/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/Detekt.kt +++ b/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/Detekt.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.aps.gradle import io.gitlab.arturbosch.detekt.DetektPlugin diff --git a/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/KotlinAndroidPlugin.kt b/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/KotlinAndroidPlugin.kt index f874c137..04870874 100644 --- a/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/KotlinAndroidPlugin.kt +++ b/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/KotlinAndroidPlugin.kt @@ -1,8 +1,9 @@ /* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. - * SPDX-License-Identifier: GPL-3.0-only + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. */ - package dev.msfjarvis.aps.gradle import org.gradle.api.Plugin diff --git a/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/KotlinCommonPlugin.kt b/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/KotlinCommonPlugin.kt index d326c682..0290117e 100644 --- a/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/KotlinCommonPlugin.kt +++ b/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/KotlinCommonPlugin.kt @@ -1,8 +1,9 @@ /* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. - * SPDX-License-Identifier: GPL-3.0-only + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. */ - package dev.msfjarvis.aps.gradle import org.gradle.api.JavaVersion diff --git a/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/KotlinLibraryPlugin.kt b/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/KotlinLibraryPlugin.kt index f9c62a8f..dc63b3ae 100644 --- a/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/KotlinLibraryPlugin.kt +++ b/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/KotlinLibraryPlugin.kt @@ -1,8 +1,9 @@ /* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. - * SPDX-License-Identifier: GPL-3.0-only + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. */ - package dev.msfjarvis.aps.gradle import org.gradle.api.Plugin diff --git a/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/SpotlessPlugin.kt b/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/SpotlessPlugin.kt index ac3d8f3c..d4821ef9 100644 --- a/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/SpotlessPlugin.kt +++ b/build-logic/kotlin-plugins/src/main/kotlin/dev/msfjarvis/aps/gradle/SpotlessPlugin.kt @@ -1,8 +1,9 @@ /* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. - * SPDX-License-Identifier: GPL-3.0-only + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. */ - package dev.msfjarvis.aps.gradle import com.diffplug.gradle.spotless.SpotlessExtension diff --git a/build-logic/settings.gradle.kts b/build-logic/settings.gradle.kts index 9874f0c7..e4d71ca4 100644 --- a/build-logic/settings.gradle.kts +++ b/build-logic/settings.gradle.kts @@ -1,6 +1,8 @@ /* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. - * SPDX-License-Identifier: GPL-3.0-only + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. */ @file:Suppress("UnstableApiUsage") diff --git a/build.gradle.kts b/build.gradle.kts index 3ba8d1f7..8ba1b769 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress("DSL_SCOPE_VIOLATION") plugins { diff --git a/common/build.gradle.kts b/common/build.gradle.kts index 95550c2b..c17d60e6 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") plugins { diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/NetworkState.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/NetworkState.kt index 2b960326..0d4fd186 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/NetworkState.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/NetworkState.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common sealed class NetworkState { diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/comments/CommentEntry.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/comments/CommentEntry.kt index 41904740..8029527f 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/comments/CommentEntry.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/comments/CommentEntry.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.comments import android.text.format.DateUtils diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/comments/Comments.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/comments/Comments.kt index 5bb79dff..34f4a992 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/comments/Comments.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/comments/Comments.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.comments import androidx.compose.foundation.layout.PaddingValues diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/comments/HTMLConverter.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/comments/HTMLConverter.kt index b0eb0792..51d3fcf0 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/comments/HTMLConverter.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/comments/HTMLConverter.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.comments /** Defines a contract to convert strings of HTML to Markdown. */ diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/posts/LobstersCard.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/posts/LobstersCard.kt index 487dd396..af3920af 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/posts/LobstersCard.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/posts/LobstersCard.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.posts import androidx.compose.animation.Crossfade diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/posts/PostActions.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/posts/PostActions.kt index 2c8354e8..e68b2f3e 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/posts/PostActions.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/posts/PostActions.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.posts import dev.msfjarvis.claw.database.local.SavedPost diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/posts/ext.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/posts/ext.kt index 8651569c..6b16535a 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/posts/ext.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/posts/ext.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.posts import dev.msfjarvis.claw.database.local.SavedPost diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/ClawIcons.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/ClawIcons.kt index 72797deb..38952593 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/ClawIcons.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/ClawIcons.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.res import dev.msfjarvis.claw.common.res.clawicons.account_circle_black_24dp diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/account_circle_black_24dp.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/account_circle_black_24dp.kt index f68ad7cd..3b57e357 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/account_circle_black_24dp.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/account_circle_black_24dp.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress( "ClassNaming", "FunctionNaming", diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/arrow_back_black_24dp.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/arrow_back_black_24dp.kt index 1b998d2c..91cb4db7 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/arrow_back_black_24dp.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/arrow_back_black_24dp.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress( "ClassNaming", "FunctionNaming", diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/comment_black_24dp.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/comment_black_24dp.kt index dd244c5e..fc07ff36 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/comment_black_24dp.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/comment_black_24dp.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress( "ClassNaming", "FunctionNaming", diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/favorite_black_24dp.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/favorite_black_24dp.kt index da04aa1d..aa90bf7b 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/favorite_black_24dp.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/favorite_black_24dp.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress( "ClassNaming", "FunctionNaming", diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/favorite_border_black_24dp.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/favorite_border_black_24dp.kt index 071a4bb2..4457775a 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/favorite_border_black_24dp.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/favorite_border_black_24dp.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress( "ClassNaming", "FunctionNaming", diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/new_releases_black_24dp.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/new_releases_black_24dp.kt index 81a85989..5908df25 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/new_releases_black_24dp.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/new_releases_black_24dp.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress( "ClassNaming", "FunctionNaming", diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/new_releases_filled_black_24dp.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/new_releases_filled_black_24dp.kt index 6b461309..a0bd1eb2 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/new_releases_filled_black_24dp.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/new_releases_filled_black_24dp.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress( "ClassNaming", "FunctionNaming", diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/public_black_24dp.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/public_black_24dp.kt index ff477c4c..aaa9d5fe 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/public_black_24dp.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/public_black_24dp.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress( "ClassNaming", "FunctionNaming", diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/whatshot_black_24dp.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/whatshot_black_24dp.kt index 52fdac18..08a20993 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/whatshot_black_24dp.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/whatshot_black_24dp.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress( "ClassNaming", "FunctionNaming", diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/whatshot_filled_black_24dp.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/whatshot_filled_black_24dp.kt index b3ad8a6a..bae4ef2a 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/whatshot_filled_black_24dp.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/res/clawicons/whatshot_filled_black_24dp.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress( "ClassNaming", "FunctionNaming", diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/theme/Color.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/theme/Color.kt index f786ceac..bc3d29b3 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/theme/Color.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/theme/Color.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.theme import androidx.compose.ui.graphics.Color diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/theme/Theme.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/theme/Theme.kt index fe9b22dc..65c05e17 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/theme/Theme.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/theme/Theme.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.theme import android.os.Build diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/theme/Type.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/theme/Type.kt index 37202ae1..f8c1180a 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/theme/Type.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/theme/Type.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.theme import androidx.compose.material3.Typography diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/Markdown.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/Markdown.kt index 86d921e8..a0f4eb56 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/Markdown.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/Markdown.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.ui import androidx.compose.material3.LocalContentColor diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/NetworkError.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/NetworkError.kt index 994df49b..d6c31ccf 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/NetworkError.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/NetworkError.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.ui import androidx.compose.foundation.clickable diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/NetworkImage.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/NetworkImage.kt index a7321dd0..928ee1b2 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/NetworkImage.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/NetworkImage.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.ui import androidx.compose.runtime.Composable diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/ProgressBar.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/ProgressBar.kt index 84066cbf..5470312c 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/ProgressBar.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/ProgressBar.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.ui import androidx.compose.foundation.layout.Box diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/decorations/ClawAppBar.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/decorations/ClawAppBar.kt index 04b7cb42..b2885db7 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/decorations/ClawAppBar.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/decorations/ClawAppBar.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.ui.decorations import androidx.compose.material3.ExperimentalMaterial3Api diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/decorations/MonthHeader.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/decorations/MonthHeader.kt index fb8feee5..856a04f7 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/decorations/MonthHeader.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/decorations/MonthHeader.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.ui.decorations import androidx.compose.foundation.background diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/ext.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/ext.kt index 129cb4e0..b6f042b3 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/ext.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/ext.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.ui import androidx.compose.material3.ColorScheme diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/preview/PreviewAnnotations.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/preview/PreviewAnnotations.kt index 6447dee6..3a1dcdb9 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/preview/PreviewAnnotations.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/ui/preview/PreviewAnnotations.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress("NON_SOURCE_REPEATED_ANNOTATION") // IDE false-positive package dev.msfjarvis.claw.common.ui.preview diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/urllauncher/UrlLauncher.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/urllauncher/UrlLauncher.kt index 0e1295a8..37d29a50 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/urllauncher/UrlLauncher.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/urllauncher/UrlLauncher.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.urllauncher import android.content.ActivityNotFoundException diff --git a/common/src/main/kotlin/dev/msfjarvis/claw/common/user/UserProfile.kt b/common/src/main/kotlin/dev/msfjarvis/claw/common/user/UserProfile.kt index 16fdb9bd..d81dba3c 100644 --- a/common/src/main/kotlin/dev/msfjarvis/claw/common/user/UserProfile.kt +++ b/common/src/main/kotlin/dev/msfjarvis/claw/common/user/UserProfile.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.common.user import androidx.compose.foundation.layout.Arrangement diff --git a/coroutine-utils/build.gradle.kts b/coroutine-utils/build.gradle.kts index 71a0b030..806e8832 100644 --- a/coroutine-utils/build.gradle.kts +++ b/coroutine-utils/build.gradle.kts @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ plugins { kotlin("jvm") id("dev.msfjarvis.claw.kotlin-library") diff --git a/coroutine-utils/src/main/kotlin/dev/msfjarvis/claw/util/coroutines/DispatcherProvider.kt b/coroutine-utils/src/main/kotlin/dev/msfjarvis/claw/util/coroutines/DispatcherProvider.kt index 2af64c92..59570f14 100644 --- a/coroutine-utils/src/main/kotlin/dev/msfjarvis/claw/util/coroutines/DispatcherProvider.kt +++ b/coroutine-utils/src/main/kotlin/dev/msfjarvis/claw/util/coroutines/DispatcherProvider.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress("InjectDispatcher") // False-positive package dev.msfjarvis.claw.util.coroutines diff --git a/database/build.gradle.kts b/database/build.gradle.kts index ac098d9f..aa47a7ef 100644 --- a/database/build.gradle.kts +++ b/database/build.gradle.kts @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") plugins { diff --git a/database/src/main/kotlin/dev/msfjarvis/claw/database/local/Database.kt b/database/src/main/kotlin/dev/msfjarvis/claw/database/local/Database.kt index 02dd4d0d..96edb1ad 100644 --- a/database/src/main/kotlin/dev/msfjarvis/claw/database/local/Database.kt +++ b/database/src/main/kotlin/dev/msfjarvis/claw/database/local/Database.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.database.local import android.content.Context diff --git a/database/src/main/kotlin/dev/msfjarvis/claw/database/model/TagsAdapter.kt b/database/src/main/kotlin/dev/msfjarvis/claw/database/model/TagsAdapter.kt index 05ff9ba4..4c20cc2a 100644 --- a/database/src/main/kotlin/dev/msfjarvis/claw/database/model/TagsAdapter.kt +++ b/database/src/main/kotlin/dev/msfjarvis/claw/database/model/TagsAdapter.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.database.model import app.cash.sqldelight.ColumnAdapter diff --git a/database/src/test/kotlin/dev/msfjarvis/claw/database/local/SqlDelightQueriesTest.kt b/database/src/test/kotlin/dev/msfjarvis/claw/database/local/SqlDelightQueriesTest.kt index 9a18e774..7d273026 100644 --- a/database/src/test/kotlin/dev/msfjarvis/claw/database/local/SqlDelightQueriesTest.kt +++ b/database/src/test/kotlin/dev/msfjarvis/claw/database/local/SqlDelightQueriesTest.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.database.local import app.cash.sqldelight.adapter.primitive.IntColumnAdapter diff --git a/metadata-extractor/build.gradle.kts b/metadata-extractor/build.gradle.kts index ac6ea6d3..73cbd2c7 100644 --- a/metadata-extractor/build.gradle.kts +++ b/metadata-extractor/build.gradle.kts @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") plugins { diff --git a/metadata-extractor/src/main/kotlin/dev/msfjarvis/claw/metadata/MetadataExtractor.kt b/metadata-extractor/src/main/kotlin/dev/msfjarvis/claw/metadata/MetadataExtractor.kt index 89e86dcb..fbbd91eb 100644 --- a/metadata-extractor/src/main/kotlin/dev/msfjarvis/claw/metadata/MetadataExtractor.kt +++ b/metadata-extractor/src/main/kotlin/dev/msfjarvis/claw/metadata/MetadataExtractor.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.metadata import com.chimbori.crux.Crux diff --git a/model/build.gradle.kts b/model/build.gradle.kts index 9656161f..005ba1f2 100644 --- a/model/build.gradle.kts +++ b/model/build.gradle.kts @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") plugins { diff --git a/model/src/main/kotlin/dev/msfjarvis/claw/model/Comment.kt b/model/src/main/kotlin/dev/msfjarvis/claw/model/Comment.kt index 8ed9cbfb..a3d123ab 100644 --- a/model/src/main/kotlin/dev/msfjarvis/claw/model/Comment.kt +++ b/model/src/main/kotlin/dev/msfjarvis/claw/model/Comment.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress("LongParameterList") package dev.msfjarvis.claw.model diff --git a/model/src/main/kotlin/dev/msfjarvis/claw/model/LinkMetadata.kt b/model/src/main/kotlin/dev/msfjarvis/claw/model/LinkMetadata.kt index db53a8e8..6bfc70e6 100644 --- a/model/src/main/kotlin/dev/msfjarvis/claw/model/LinkMetadata.kt +++ b/model/src/main/kotlin/dev/msfjarvis/claw/model/LinkMetadata.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress("LongParameterList") package dev.msfjarvis.claw.model diff --git a/model/src/main/kotlin/dev/msfjarvis/claw/model/LobstersPost.kt b/model/src/main/kotlin/dev/msfjarvis/claw/model/LobstersPost.kt index 796987f1..d12f1779 100644 --- a/model/src/main/kotlin/dev/msfjarvis/claw/model/LobstersPost.kt +++ b/model/src/main/kotlin/dev/msfjarvis/claw/model/LobstersPost.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress("LongParameterList") package dev.msfjarvis.claw.model diff --git a/model/src/main/kotlin/dev/msfjarvis/claw/model/LobstersPostDetails.kt b/model/src/main/kotlin/dev/msfjarvis/claw/model/LobstersPostDetails.kt index bc274ff5..afd2ebad 100644 --- a/model/src/main/kotlin/dev/msfjarvis/claw/model/LobstersPostDetails.kt +++ b/model/src/main/kotlin/dev/msfjarvis/claw/model/LobstersPostDetails.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress("LongParameterList") package dev.msfjarvis.claw.model diff --git a/model/src/main/kotlin/dev/msfjarvis/claw/model/User.kt b/model/src/main/kotlin/dev/msfjarvis/claw/model/User.kt index 380e6d9a..093811c7 100644 --- a/model/src/main/kotlin/dev/msfjarvis/claw/model/User.kt +++ b/model/src/main/kotlin/dev/msfjarvis/claw/model/User.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress("LongParameterList") package dev.msfjarvis.claw.model diff --git a/model/src/main/kotlin/dev/msfjarvis/claw/serialization/JavaInstantSerializer.kt b/model/src/main/kotlin/dev/msfjarvis/claw/serialization/JavaInstantSerializer.kt index af326ab7..568738b8 100644 --- a/model/src/main/kotlin/dev/msfjarvis/claw/serialization/JavaInstantSerializer.kt +++ b/model/src/main/kotlin/dev/msfjarvis/claw/serialization/JavaInstantSerializer.kt @@ -1,3 +1,9 @@ +/* + * Copyright © 2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ package dev.msfjarvis.claw.serialization import java.time.format.DateTimeFormatter diff --git a/settings.gradle.kts b/settings.gradle.kts index cde8fc48..dfddf024 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,3 +1,9 @@ +/* + * Copyright © 2021-2022 Harsh Shandilya. + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ @file:Suppress("UnstableApiUsage") pluginManagement {