diff --git a/server/.editorconfig b/server/.editorconfig index cc2d64d0e..d607bac53 100644 --- a/server/.editorconfig +++ b/server/.editorconfig @@ -8,3 +8,4 @@ insert_final_newline=true # possible values: number (e.g. 120) (package name, imports & comments are ignored), "off" # it's automatically set to 100 on `ktlint --android ...` (per Android Kotlin Style Guide) max_line_length=off +disabled_rules=import-ordering diff --git a/server/build.gradle.kts b/server/build.gradle.kts index 48abc9ab6..3640adcde 100644 --- a/server/build.gradle.kts +++ b/server/build.gradle.kts @@ -1,4 +1,3 @@ - import org.jetbrains.dokka.gradle.DokkaTask import org.jetbrains.kotlin.gradle.tasks.KotlinCompile @@ -18,7 +17,8 @@ plugins { id("org.jetbrains.dokka") version "0.10.0" apply false // We apply this so that ktlint can format the top level buildscript - id("org.jlleitschuh.gradle.ktlint") version "7.2.1" + id("org.jlleitschuh.gradle.ktlint") version "9.2.1" + id("org.jlleitschuh.gradle.ktlint-idea") version "9.2.1" } allprojects { diff --git a/server/gradle/wrapper/gradle-wrapper.jar b/server/gradle/wrapper/gradle-wrapper.jar index 0d4a95168..5c2d1cf01 100644 Binary files a/server/gradle/wrapper/gradle-wrapper.jar and b/server/gradle/wrapper/gradle-wrapper.jar differ diff --git a/server/gradle/wrapper/gradle-wrapper.properties b/server/gradle/wrapper/gradle-wrapper.properties index 51fb1c466..186b71557 100644 --- a/server/gradle/wrapper/gradle-wrapper.properties +++ b/server/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.3.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/server/gradlew b/server/gradlew index cccdd3d51..b0d6d0ab5 100755 --- a/server/gradlew +++ b/server/gradlew @@ -1,5 +1,21 @@ #!/usr/bin/env sh +# +# Copyright 2015 the original author or authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + ############################################################################## ## ## Gradle start up script for UN*X @@ -28,7 +44,7 @@ APP_NAME="Gradle" APP_BASE_NAME=`basename "$0"` # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS="" +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD="maximum"