Skip to content

Commit

Permalink
Bump to 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BoD committed Jul 29, 2024
1 parent 2d39d3b commit c628859
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions final/app/src/main/java/com/example/rocketreserver/Apollo.kt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.example.rocketreserver

import android.util.Log
import com.apollographql.apollo3.ApolloClient
import com.apollographql.apollo3.network.okHttpClient
import com.apollographql.apollo.ApolloClient
import com.apollographql.apollo.network.okHttpClient
import kotlinx.coroutines.delay
import okhttp3.Interceptor
import okhttp3.OkHttpClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import androidx.compose.ui.res.painterResource
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import coil.compose.AsyncImage
import com.apollographql.apollo3.api.Error
import com.apollographql.apollo3.exception.ApolloException
import com.apollographql.apollo.api.Error
import com.apollographql.apollo.exception.ApolloException
import com.example.rocketreserver.LaunchDetailsState.ApplicationError
import com.example.rocketreserver.LaunchDetailsState.Loading
import com.example.rocketreserver.LaunchDetailsState.ProtocolError
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.unit.dp
import coil.compose.AsyncImage
import com.apollographql.apollo3.api.ApolloResponse
import com.apollographql.apollo3.api.Optional
import com.apollographql.apollo.api.ApolloResponse
import com.apollographql.apollo.api.Optional

@Composable
fun LaunchList(onLaunchClick: (launchId: String) -> Unit) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import androidx.compose.ui.res.stringResource
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import androidx.navigation.compose.rememberNavController
import com.apollographql.apollo3.api.ApolloResponse
import com.apollographql.apollo.api.ApolloResponse
import com.example.rocketreserver.ui.theme.RocketReserverTheme

class MainActivity : ComponentActivity() {
Expand Down
6 changes: 3 additions & 3 deletions final/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ composeBom = "2024.05.00"
navigationCompose = "2.7.7"
securityCrypto = "1.1.0-alpha06"
coil = "2.6.0"
apollo = "4.0.0-beta.6"
apollo = "4.0.0"

[libraries]
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
Expand All @@ -31,10 +31,10 @@ androidx-material3 = { group = "androidx.compose.material3", name = "material3"
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "navigationCompose" }
androidx-security-crypto = { module = "androidx.security:security-crypto", version.ref = "securityCrypto" }
coil-compose = { module = "io.coil-kt:coil-compose", version.ref = "coil" }
apollo-runtime = { module = "com.apollographql.apollo3:apollo-runtime", version.ref = "apollo"}
apollo-runtime = { module = "com.apollographql.apollo:apollo-runtime", version.ref = "apollo"}

[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
apollo = { id = "com.apollographql.apollo3", version.ref = "apollo" }
apollo = { id = "com.apollographql.apollo", version.ref = "apollo" }

0 comments on commit c628859

Please sign in to comment.