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

Compose 1.6 upgrade #39

Merged
merged 3 commits into from
Aug 26, 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 .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
uses: gradle/gradle-build-action@v2

- name: Build and test
run: ./gradlew assemble apiCheck jvmTest
run: ./gradlew assemble apiCheck testDebugUnitTest
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
.externalNativeBuild
.cxx
local.properties
.idea
.idea
.kotlin
10 changes: 9 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
plugins {
alias(libs.plugins.jetbrains.compose) apply false
alias(libs.plugins.kotlin.plugin.compose) apply false
alias(libs.plugins.kotlin.binaryCompatibilityValidator) apply false
alias(libs.plugins.dokka) apply false
alias(libs.plugins.maven.publish.base) apply false
}

buildscript {
repositories {
google()
Expand All @@ -10,5 +18,5 @@ buildscript {
}

task<Delete>("clean") {
delete(rootProject.buildDir)
delete(rootProject.layout.buildDirectory)
}
5 changes: 0 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ android.enableJetifier=false
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official

kotlin.mpp.androidSourceSetLayoutVersion=2
kotlin.native.cacheKind=none
kotlin.native.ignoreIncorrectDependencies=true
org.jetbrains.compose.experimental.uikit.enabled=true

GROUP=com.mxalbert.zoomable
POM_ARTIFACT_ID=zoomable
VERSION_NAME=1.7.0-SNAPSHOT
Expand Down
39 changes: 21 additions & 18 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
[versions]
agp = "8.0.0"
agp = "8.5.2"
sdk-min = "21"
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"
sdk-target = "34"
sdk-compile = "34"
buildTools = "35.0.0"
binaryCompatibilityValidator = "0.16.3"
maven-publish = "0.29.0"
kotlin = "2.0.20"
dokka = "1.9.20"
coroutines = "1.8.1"
compose-jetbrains = "1.6.11"
compose-jetpack = "1.6.8"
compose-compiler = "1.5.15"
ktor = "2.3.12"
androidx-activity = "1.9.1"
coil = "2.7.0"
jUnit = "4.13.2"
truth = "1.1.3"
testExt = "1.1.5"
truth = "1.4.4"
test-ext-junit = "1.2.1"
robolectric = "4.13"

[libraries]
kotlin-gradle = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
Expand All @@ -41,10 +42,12 @@ androidx-activity-compose = { module = "androidx.activity:activity-compose", ver
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" }
test-ext-junit = { module = "androidx.test.ext:junit", version.ref = "test-ext-junit" }
robolectric = { module = "org.robolectric:robolectric", version.ref = "robolectric" }

[plugins]
jetbrains-compose = { id = "org.jetbrains.compose", version.ref = "compose-jetbrains" }
kotlin-plugin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
kotlin-binaryCompatibilityValidator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version.ref = "binaryCompatibilityValidator" }
dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" }
maven-publish-base = { id = "com.vanniktech.maven.publish.base", version.ref = "maven-publish" }
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 3 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Mon Apr 17 20:11:28 JST 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading
Loading