File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
src/main/kotlin/com/apollographql/apollo/compiler Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ public abstract interface class com/apollographql/apollo/compiler/ApolloCompiler
26
26
public abstract fun debug (Ljava/lang/String;)V
27
27
public abstract fun error (Ljava/lang/String;)V
28
28
public abstract fun info (Ljava/lang/String;)V
29
+ public fun warn (Ljava/lang/String;)V
29
30
public abstract fun warning (Ljava/lang/String;)V
30
31
}
31
32
Original file line number Diff line number Diff line change 1
1
package com.apollographql.apollo.compiler
2
2
3
+ import com.apollographql.apollo.annotations.ApolloDeprecatedSince
3
4
import com.apollographql.apollo.ast.DeprecatedUsage
4
5
import com.apollographql.apollo.ast.DifferentShape
5
6
import com.apollographql.apollo.ast.DirectiveRedefinition
@@ -54,6 +55,11 @@ object ApolloCompiler {
54
55
fun debug (message : String )
55
56
fun info (message : String )
56
57
fun warning (message : String )
58
+ @Deprecated(" use warning instead" , replaceWith = ReplaceWith (" warning(message)" ))
59
+ @ApolloDeprecatedSince(ApolloDeprecatedSince .Version .v5_0_0)
60
+ fun warn (message : String ) {
61
+ warning(message)
62
+ }
57
63
fun error (message : String )
58
64
}
59
65
Original file line number Diff line number Diff line change 1
1
import org.jetbrains.kotlin.gradle.plugin.KotlinDependencyHandler
2
- import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsExec
3
2
4
3
plugins {
5
4
id(" org.jetbrains.kotlin.multiplatform" )
You can’t perform that action at this time.
0 commit comments