Skip to content
Open
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
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v7
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version-file: .tool-versions

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3

- name: Run lint
run: ./gradlew spotlessCheck
Expand All @@ -32,19 +32,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v7

- name: Configure JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v5
with:
distribution: temurin
java-version-file: .tool-versions

- name: Setup Android SDK
uses: android-actions/setup-android@v2
uses: android-actions/setup-android@v4

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3

- name: Run tests
run: ./gradlew runDebugUnitTest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v7

- name: Configure JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v5
with:
distribution: temurin
java-version-file: .tool-versions

- name: Setup Android SDK
uses: android-actions/setup-android@v2
uses: android-actions/setup-android@v4

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3

- name: Upload Artifacts
run: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
java temurin-17.0.16+8
java temurin-25.0.3+9.0.LTS
56 changes: 28 additions & 28 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,64 +1,64 @@
[versions]
kotlin = "2.2.0"
composeUi = "1.10.0"
composeCompiler = "2.2.0"
coroutines = "1.10.2"
ktor = "3.3.3"
work = "2.11.0"
kotlin = "2.4.10"
composeUi = "1.11.4"
composeCompiler = "2.4.10"
coroutines = "1.11.0"
ktor = "3.5.1"
work = "2.11.2"
serialization = "1.5.1"
junit = "4.13.2"

[libraries]
# algolia
algolia-client = { group = "com.algolia", name = "algoliasearch-client-kotlin", version = "3.37.2" }
algolia-client = { group = "com.algolia", name = "algoliasearch-client-kotlin", version = "3.46.0" }
algolia-telemetry = { group = "com.algolia", name = "instantsearch-telemetry", version = "0.2.0" }

# network
ktor-client-okhttp = { group = "io.ktor", name = "ktor-client-okhttp", version.ref = "ktor" }
ktor-client-serialization-json = { group = "io.ktor", name = "ktor-serialization-kotlinx-json", version.ref = "ktor" }

# kotlin
kotlinx-atomicfu = { group = "org.jetbrains.kotlinx", name = "atomicfu", version = "0.20.0" }
kotlinx-atomicfu = { group = "org.jetbrains.kotlinx", name = "atomicfu", version = "0.33.0" }
kotlinx-coroutines-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref = "coroutines" }
kotlinx-coroutines-android = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-android", version.ref = "coroutines" }

# android
androidx-compose-ui = { group = "androidx.compose.ui", name = "ui", version.ref = "composeUi" }
androidx-compose-material = { group = "androidx.compose.material", name = "material", version = "1.3.1" }
androidx-compose-material-icons-extended = { group = "androidx.compose.material", name = "material-icons-extended", version = "1.3.1" }
androidx-paging3 = { group = "androidx.paging", name = "paging-runtime", version = "3.1.1" }
androidx-compose-material = { group = "androidx.compose.material", name = "material", version = "1.11.4" }
androidx-compose-material-icons-extended = { group = "androidx.compose.material", name = "material-icons-extended", version = "1.7.8" }
androidx-paging3 = { group = "androidx.paging", name = "paging-runtime", version = "3.5.0" }
androidx-work = { group = "androidx.work", name = "work-runtime-ktx", version.ref = "work" }
androidx-core = { group = "androidx.core", name = "core-ktx", version = "1.9.0" }
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version = "1.6.1" }
androidx-recyclerview = { group = "androidx.recyclerview", name = "recyclerview", version = "1.2.1" }
androidx-swiperefreshlayout = { group = "androidx.swiperefreshlayout", name = "swiperefreshlayout", version = "1.1.0" }
google-material = { group = "com.google.android.material", name = "material", version = "1.8.0" }
androidx-core = { group = "androidx.core", name = "core-ktx", version = "1.19.0" }
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version = "1.7.1" }
androidx-recyclerview = { group = "androidx.recyclerview", name = "recyclerview", version = "1.4.0" }
androidx-swiperefreshlayout = { group = "androidx.swiperefreshlayout", name = "swiperefreshlayout", version = "1.2.0" }
google-material = { group = "com.google.android.material", name = "material", version = "1.14.0" }

# test
test-androidx-ext = { group = "androidx.test.ext", name = "junit", version = "1.1.5" }
test-androidx-runner = { group = "androidx.test", name = "runner", version = "1.5.2" }
test-androidx-espresso = { group = "androidx.test.espresso", name = "espresso-core", version = "3.5.1" }
test-androidx-ext = { group = "androidx.test.ext", name = "junit", version = "1.3.0" }
test-androidx-runner = { group = "androidx.test", name = "runner", version = "1.7.0" }
test-androidx-espresso = { group = "androidx.test.espresso", name = "espresso-core", version = "3.7.0" }
test-androidx-work = { group = "androidx.work", name = "work-testing", version.ref = "work" }
test-coroutines = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref = "coroutines" }
test-ktor-client-mock = { group = "io.ktor", name = "ktor-client-mock", version.ref = "ktor" }
test-kotlin-common = { module = "org.jetbrains.kotlin:kotlin-test-common" }
test-kotlin-annotations = { module = "org.jetbrains.kotlin:kotlin-test-annotations-common" }
test-kotlin-junit = { module = "org.jetbrains.kotlin:kotlin-test-junit" }
test-mockk = { group = "io.mockk", name = "mockk", version = "1.13.4" }
test-robolectric = { group = "org.robolectric", name = "robolectric", version = "4.9.2" }
test-turbine = { group = "app.cash.turbine", name = "turbine", version = "0.12.1" }
test-mockk = { group = "io.mockk", name = "mockk", version = "1.14.11" }
test-robolectric = { group = "org.robolectric", name = "robolectric", version = "4.16.1" }
test-turbine = { group = "app.cash.turbine", name = "turbine", version = "1.2.1" }

# logging
slf4j = { group = "org.slf4j", name = "slf4j-api", version = "2.0.6" }
logback-classic = { group = "ch.qos.logback", name = "logback-classic", version = "1.4.5" }
slf4j = { group = "org.slf4j", name = "slf4j-api", version = "2.0.18" }
logback-classic = { group = "ch.qos.logback", name = "logback-classic", version = "1.5.38" }
junit = { group = "junit", name = "junit", version.ref = "junit" }

[plugins]
kotlin-multiplaform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "composeCompiler" }
kotlinx-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
android = { id = "com.android.library", version = "8.7.2" }
maven-publish = { id = "com.vanniktech.maven.publish", version = "0.34.0" }
spotless = { id = "com.diffplug.gradle.spotless", version = "6.16.0" }
android = { id = "com.android.library", version = "9.3.0" }
maven-publish = { id = "com.vanniktech.maven.publish", version = "0.37.0" }
spotless = { id = "com.diffplug.gradle.spotless", version = "8.8.0" }
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
dokka = { id = "org.jetbrains.dokka", version = "2.1.0" }
dokka = { id = "org.jetbrains.dokka", version = "2.2.0" }
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion instantsearch-agent/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ kotlin {
dependencies {
api(libs.kotlinx.coroutines.core)
api(libs.ktor.client.serialization.json)
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.11.0")
}
}
commonTest {
Expand Down
2 changes: 1 addition & 1 deletion instantsearch-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ kotlin {
implementation(libs.algolia.telemetry)
implementation(libs.kotlinx.coroutines.core)
implementation(libs.kotlinx.atomicfu)
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.11.0")
}
}
val commonTest by getting {
Expand Down
Loading