There was an error while loading. Please reload this page.
1 parent 622a478 commit fce7ed7Copy full SHA for fce7ed7
1 file changed
app/build.gradle.kts
@@ -108,9 +108,11 @@ dependencies {
108
apollo {
109
service("service") {
110
packageName.set("com.example.score")
111
- introspection {
112
- endpointUrl.set(secrets.getProperty("API_URL_DEV"))
113
- schemaFile.set(file("src/main/graphql/schema.graphqls"))
+ secrets.getProperty("API_URL_DEV")?.takeIf { it.isNotBlank() }?.let { apiUrl ->
+ introspection {
+ endpointUrl.set(apiUrl)
114
+ schemaFile.set(file("src/main/graphql/schema.graphqls"))
115
+ }
116
}
117
118
0 commit comments