- pass HTTP headers to the caller apollographql/apollo-kotlin#2205
- pass HTTP error body to the caller apollographql/apollo-kotlin#2119
- cache control based on errors apollographql/apollo-kotlin#2202
- remove threadpools apollographql/apollo-kotlin#1896
- synchronous API apollographql/apollo-kotlin#606 (comment)
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
query IntrospectionQuery { | |
__schema { | |
queryType { name } | |
mutationType { name } | |
subscriptionType { name } | |
types { | |
...FullType | |
} | |
directives { | |
name |
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
{ | |
"formatVersion": "1.1", | |
"component": { [SKIPPED] }, | |
"createdBy": { [SKIPPED] }, | |
"variants": [ | |
{ | |
"name": "js-api", | |
"attributes": { | |
"org.gradle.usage": "kotlin-api", | |
"org.jetbrains.kotlin.platform.type": "js" |
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
kotlin { | |
sourceSets { | |
get("commonMain").apply { | |
dependencies { | |
implementation("com.github.ajalt:clikt-multiplatform:2.6.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
{ | |
"data": { | |
"__schema": { | |
"queryType": { | |
"name": "IndexDailyQuery" | |
}, | |
"mutationType": null, | |
"subscriptionType": null, | |
"types": [ | |
{ |
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
<html> | |
<head> | |
<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>JApiCmp-Report</title> | |
<style type="text/css"> | |
body { | |
font-family: Verdana; | |
} | |
.title { | |
font-weight: bold; |
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
#!/usr/bin/env kscript | |
@file:DependsOn("com.github.ajalt:clikt:2.4.0") | |
import com.github.ajalt.clikt.core.CliktCommand | |
import com.github.ajalt.clikt.parameters.options.default | |
import com.github.ajalt.clikt.parameters.options.option | |
import com.github.ajalt.clikt.parameters.options.required | |
import com.github.ajalt.clikt.parameters.types.int | |
class Hello : CliktCommand(name = "hello") { |
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
import groovy.text.SimpleTemplateEngine | |
apply(plugin = "me.champeau.gradle.japicmp") | |
tasks.named("jar") { | |
this as org.gradle.jvm.tasks.Jar | |
manifest { | |
attributes(mapOf("Automatic-Module-Name" to "okhttp3")) | |
} | |
} |
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
apply from: "dependencies.gradle" | |
// A task that displays a greeting | |
class Greeting extends DefaultTask { | |
// A configurable greeting | |
@Input | |
String input | |
// Read-only property calculated from the greeting | |
@OutputFile |
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
// buildSrc/build.gradle.kts | |
repositories { | |
mavenCentral() | |
google() | |
} | |
dependencies { | |
// add all your plugins artifacts here | |
classpath("com.android.tools.build:gradle:3.5.2") |