Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies and copyright year #30

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion build-logic/convention/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions build-logic/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion build-logic/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
32 changes: 10 additions & 22 deletions catalog/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig

/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
plugins {
alias(libs.plugins.kotlin.multiplatform)
alias(libs.plugins.android.application)
Expand Down Expand Up @@ -48,10 +43,8 @@ kotlin {
}

androidTarget {
compilations.all {
kotlinOptions {
jvmTarget = "1.8"
}
compilerOptions {
jvmTarget.set(JvmTarget.JVM_1_8)
}
}

Expand Down Expand Up @@ -105,17 +98,15 @@ kotlin {
}

val wasmJsMain by getting {
dependsOn(commonMain)
resources.srcDirs("src/commonRes", "../sdui/src/commonRes")
dependencies {
implementation(projects.design)
implementation(compose.ui)

val wasmKtor = "3.0.0-wasm1"
implementation("io.ktor:ktor-client-core:$wasmKtor")
implementation("io.ktor:ktor-serialization-kotlinx-json:$wasmKtor")
implementation("io.ktor:ktor-client-content-negotiation:$wasmKtor")
implementation("io.ktor:ktor-client-logging:$wasmKtor")
implementation(libs.ktor.client.core)
implementation(libs.ktor.serialization.json)
implementation(libs.ktor.client.contentNegotiation)
implementation(libs.ktor.client.logging)
}
}
}
Expand All @@ -135,13 +126,12 @@ android {
defaultConfig {
applicationId = "dev.helw.playground.sdui.android"
minSdk = 21
targetSdk = 34
targetSdk = 35
versionCode = 1
versionName = "1.0"
}

buildFeatures.compose = true
composeOptions.kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()

packaging {
resources {
Expand Down Expand Up @@ -169,6 +159,4 @@ compose {
macOS.bundleID = "dev.helw.playground.sdui"
}
}

experimental.web.application {}
}
2 changes: 1 addition & 1 deletion catalog/src/androidMain/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble

This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion catalog/src/androidMain/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble

This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion catalog/src/jsMain/kotlin/dev/helw/playground/sdui/Main.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
25 changes: 9 additions & 16 deletions design/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
plugins {
alias(libs.plugins.kotlin.multiplatform)
alias(libs.plugins.android.library)
alias(libs.plugins.jetbrain.compose)
alias(libs.plugins.kotlin.compose)
}

@OptIn(org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi::class)
@OptIn(ExperimentalKotlinGradlePluginApi::class)
kotlin {
applyDefaultHierarchyTemplate()

Expand All @@ -30,10 +26,8 @@ kotlin {
wasmJs { browser() }

androidTarget {
compilations.all {
kotlinOptions {
jvmTarget = "1.8"
}
compilerOptions {
jvmTarget.set(JvmTarget.JVM_1_8)
}
}

Expand Down Expand Up @@ -84,16 +78,15 @@ kotlin {
val wasmJsMain by getting {
dependsOn(webMain)
dependencies {
val wasmKtor = "3.0.0-wasm1"
implementation("io.ktor:ktor-client-core:$wasmKtor")
implementation(libs.ktor.client.core)
}
}
}
}

android {
namespace = "dev.helw.playground.sdui.design"
compileSdk = 34
compileSdk = 35
defaultConfig.minSdk = 21
sourceSets {
named("main") {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 Ahmed El-Helw and Abdulahi Osoble
* Copyright (c) 2024 Ahmed El-Helw and Abdulahi Osoble
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Loading