forked from mxalbert1996/Zoomable
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main'
- Loading branch information
Showing
66 changed files
with
1,255 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
17.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,50 @@ | ||
[versions] | ||
agp = "7.2.1" | ||
agp = "8.0.0" | ||
sdk-min = "21" | ||
sdk-target = "32" | ||
sdk-compile = "32" | ||
buildTools = "32.0.0" | ||
binaryCompatibilityValidator = "0.11.0" | ||
maven-publish = "0.21.0" | ||
kotlin = "1.6.10" | ||
coroutines = "1.6.1" | ||
compose-jetbrains = "1.1.1" | ||
compose-jetpack = "1.1.1" | ||
androidx-activity = "1.5.0" | ||
accompanist = "0.23.1" | ||
coil = "2.1.0" | ||
sdk-target = "33" | ||
sdk-compile = "33" | ||
buildTools = "33.0.2" | ||
binaryCompatibilityValidator = "0.13.0" | ||
maven-publish = "0.25.2" | ||
kotlin = "1.8.20" | ||
dokka = "1.8.10" | ||
coroutines = "1.6.4" | ||
compose-jetbrains = "1.4.0" | ||
compose-jetpack = "1.4.2" | ||
compose-compiler = "1.4.6" | ||
ktor = "2.3.0" | ||
androidx-activity = "1.7.1" | ||
coil = "2.2.2" | ||
jUnit = "4.13.2" | ||
truth = "1.1.3" | ||
testExt = "1.1.3" | ||
testExt = "1.1.5" | ||
|
||
[libraries] | ||
kotlin-gradle = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" } | ||
agp = { module = "com.android.tools.build:gradle", version.ref = "agp" } | ||
|
||
coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" } | ||
coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" } | ||
compose-compiler-jetpack = { module = "androidx.compose.compiler:compiler", version.ref = "compose-compiler" } | ||
compose-runtime-jetbrains = { module = "org.jetbrains.compose.runtime:runtime", version.ref = "compose-jetbrains" } | ||
compose-runtime-jetpack = { module = "androidx.compose.runtime:runtime", version.ref = "compose-jetpack" } | ||
compose-foundation-jetbrains = { module = "org.jetbrains.compose.foundation:foundation", version.ref = "compose-jetbrains" } | ||
compose-foundation-jetpack = { module = "androidx.compose.foundation:foundation", version.ref = "compose-jetpack" } | ||
compose-ui-util-jetbrains = { module = "org.jetbrains.compose.ui:ui-util", version.ref = "compose-jetbrains" } | ||
compose-ui-util-jetpack = { module = "androidx.compose.ui:ui-util", version.ref = "compose-jetpack" } | ||
compose-material = { module = "androidx.compose.material:material", version.ref = "compose-jetpack" } | ||
compose-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4", version.ref = "compose-jetpack" } | ||
compose-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest", version.ref = "compose-jetpack" } | ||
ktor-client-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" } | ||
ktor-client-java = { module = "io.ktor:ktor-client-java", version.ref = "ktor" } | ||
ktor-client-darwin = { module = "io.ktor:ktor-client-darwin", version.ref = "ktor" } | ||
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activity" } | ||
accompanist-insets = { module = "com.google.accompanist:accompanist-insets", version.ref = "accompanist" } | ||
accompanist-pager = { module = "com.google.accompanist:accompanist-pager", version.ref = "accompanist" } | ||
coil-compose = { module = "io.coil-kt:coil-compose", version.ref = "coil" } | ||
jUnit = { module = "junit:junit", version.ref = "jUnit" } | ||
truth = { module = "com.google.truth:truth", version.ref = "truth" } | ||
testExt = { module = "androidx.test.ext:junit", version.ref = "testExt" } | ||
|
||
[bundles] | ||
accompanist = ["accompanist-insets", "accompanist-pager"] | ||
|
||
[plugins] | ||
jetbrains-compose = { id = "org.jetbrains.compose", version.ref = "compose-jetbrains" } | ||
kotlin-binaryCompatibilityValidator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version.ref = "binaryCompatibilityValidator" } | ||
dokka = { id = "org.jetbrains.dokka", version.ref = "kotlin" } | ||
dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" } | ||
maven-publish-base = { id = "com.vanniktech.maven.publish.base", version.ref = "maven-publish" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Sun Jul 24 12:40:38 JST 2022 | ||
#Mon Apr 17 20:11:28 JST 2023 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip | ||
distributionPath=wrapper/dists | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
16 changes: 16 additions & 0 deletions
16
sample/androidApp/src/main/java/com/mxalbert/zoomable/sample/MainActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.mxalbert.zoomable.sample | ||
|
||
import android.os.Bundle | ||
import androidx.activity.ComponentActivity | ||
import androidx.activity.compose.setContent | ||
import androidx.core.view.WindowCompat | ||
|
||
class MainActivity : ComponentActivity() { | ||
override fun onCreate(savedInstanceState: Bundle?) { | ||
super.onCreate(savedInstanceState) | ||
WindowCompat.setDecorFitsSystemWindows(window, false) | ||
setContent { | ||
ZoomableApp() | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget | ||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
|
||
plugins { | ||
kotlin("jvm") | ||
alias(libs.plugins.jetbrains.compose) | ||
} | ||
|
||
tasks.withType(KotlinCompile::class).configureEach { | ||
compilerOptions { | ||
jvmTarget.set(JvmTarget.JVM_17) | ||
} | ||
} | ||
|
||
compose.desktop { | ||
application { | ||
mainClass = "com.mxalbert.zoomable.sample.MainKt" | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation(project(":sample:shared")) | ||
implementation(compose.desktop.currentOs) | ||
} |
14 changes: 14 additions & 0 deletions
14
sample/desktopApp/src/main/kotlin/com/mxalbert/zoomable/sample/main.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.mxalbert.zoomable.sample | ||
|
||
import androidx.compose.ui.window.Window | ||
import androidx.compose.ui.window.application | ||
import com.mxalbert.zoomable.sample.ZoomableApp | ||
|
||
fun main() = application { | ||
Window( | ||
onCloseRequest = ::exitApplication, | ||
title = "Zoomable" | ||
) { | ||
ZoomableApp() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Podfile.lock | ||
Pods/* | ||
Zoomable.xcworkspace/* | ||
Zoomable.xcodeproj/* | ||
!Zoomable.xcodeproj/project.pbxproj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
target 'Zoomable' do | ||
use_frameworks! | ||
platform :ios, '14.1' | ||
pod 'shared', :path => '../shared' | ||
end |
Oops, something went wrong.