Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
2 changes: 1 addition & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Publish
uses: eskatos/gradle-command-action@v1
with:
gradle-version: 7.5.1
gradle-version: 7.6.3
arguments: publish --stacktrace
env:
sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# KGraphQL version
version=0.19.0
version=0.20.0

# Dependencies
coroutine_version=1.6.4
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion kgraphql-example/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
base
application
kotlin("jvm") version "1.8.0"
kotlin("jvm") version "2.1.10"
id("org.jetbrains.dokka") version "1.7.20"
signing
}
Expand Down
4 changes: 2 additions & 2 deletions kgraphql-ktor/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
base
kotlin("jvm") version "1.8.0"
kotlin("plugin.serialization") version "1.8.0"
kotlin("jvm") version "2.1.10"
kotlin("plugin.serialization") version "2.1.10"
id("org.jetbrains.dokka") version "1.7.20"
signing
}
Expand Down
2 changes: 1 addition & 1 deletion kgraphql/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

plugins {
base
kotlin("jvm") version "1.8.0"
kotlin("jvm") version "2.1.10"
id("org.jetbrains.dokka") version "1.7.20"
signing
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ data class Lexer(
for (i in hex.length..3) {
append('0')
}
append(hex.toUpperCase())
append(hex.uppercase())
}
}
append("\"")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ enum class DirectiveLocation {
INLINE_FRAGMENT;

companion object {
fun from(str: String) = str.toLowerCase().let { lowered ->
values().firstOrNull { it.name.toLowerCase() == lowered }
fun from(str: String) = str.lowercase().let { lowered ->
values().firstOrNull { it.name.lowercase() == lowered }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ abstract class BaseSchemaTest {
ignore = true
}
transformation(Scenario::content) { content : String, uppercase: Boolean? ->
if(uppercase == true) content.toUpperCase() else content
if(uppercase == true) content.uppercase() else content
}
}
val favouriteID = unionType("Favourite") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class DeprecationSpecificationTest {
property<String>("add"){
description = expectedDescription
deprecate(expected)
resolver{ (content) -> content.toUpperCase() }
resolver{ (content) -> content.uppercase() }
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class DocumentationSpecificationTest {
type<Sample>{
property<String>("add"){
description = expected
resolver{ (content) -> content.toUpperCase() }
resolver{ (content) -> content.uppercase() }
}
}
}
Expand Down