File tree Expand file tree Collapse file tree 5 files changed +19
-15
lines changed Expand file tree Collapse file tree 5 files changed +19
-15
lines changed Original file line number Diff line number Diff line change
1
+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2
+
1
3
plugins {
2
4
id ' java-library'
3
- id ' org.jetbrains.kotlin.jvm' version ' 1.7 .0'
4
- id ' com.diffplug.spotless' version ' 6.6.1 '
5
- id ' org.sonarqube' version ' 3.3 '
6
- id(" org.jetbrains.kotlinx.kover" ) version " 0.5 .1"
5
+ id ' org.jetbrains.kotlin.jvm' version ' 1.8 .0'
6
+ id ' com.diffplug.spotless' version ' 6.16.0 '
7
+ id ' org.sonarqube' version ' 4.0.0.2929 '
8
+ id(" org.jetbrains.kotlinx.kover" ) version " 0.6 .1"
7
9
id ' com.worksap.nlp.sudachi.es'
8
10
}
9
11
@@ -17,15 +19,11 @@ tasks.withType(JavaCompile).configureEach {
17
19
}
18
20
19
21
compileKotlin {
20
- kotlinOptions {
21
- jvmTarget = " 11"
22
- }
22
+ compilerOptions. jvmTarget. set(JvmTarget . JVM_11 )
23
23
}
24
24
25
25
compileTestKotlin {
26
- kotlinOptions {
27
- jvmTarget = " 11"
28
- }
26
+ compilerOptions. jvmTarget. set(JvmTarget . JVM_11 )
29
27
}
30
28
31
29
repositories {
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.6-bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.0-bin.zip
4
+ networkTimeout =10000
4
5
zipStoreBase =GRADLE_USER_HOME
5
6
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 55
55
# Darwin, MinGW, and NonStop.
56
56
#
57
57
# (3) This script is generated from the Groovy template
58
- # https://github.com/gradle/gradle/blob/master /subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58
+ # https://github.com/gradle/gradle/blob/HEAD /subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
59
59
# within the Gradle project.
60
60
#
61
61
# You can find Gradle at https://github.com/gradle/gradle/.
80
80
esac
81
81
done
82
82
83
- APP_HOME=$( cd " ${APP_HOME:- ./ } " && pwd -P ) || exit
84
-
85
- APP_NAME=" Gradle"
83
+ # This is normally unused
84
+ # shellcheck disable=SC2034
86
85
APP_BASE_NAME=${0##*/ }
86
+ APP_HOME=$( cd " ${APP_HOME:- ./ } " && pwd -P ) || exit
87
87
88
88
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
89
89
DEFAULT_JVM_OPTS=' "-Xmx64m" "-Xms64m"'
143
143
if ! " $cygwin " && ! " $darwin " && ! " $nonstop " ; then
144
144
case $MAX_FD in # (
145
145
max* )
146
+ # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
147
+ # shellcheck disable=SC3045
146
148
MAX_FD=$( ulimit -H -n ) ||
147
149
warn " Could not query maximum file descriptor limit"
148
150
esac
149
151
case $MAX_FD in # (
150
152
' ' | soft) : ;; # (
151
153
* )
154
+ # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
155
+ # shellcheck disable=SC3045
152
156
ulimit -n " $MAX_FD " ||
153
157
warn " Could not set maximum file descriptor limit to $MAX_FD "
154
158
esac
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ if "%OS%"=="Windows_NT" setlocal
26
26
27
27
set DIRNAME = %~dp0
28
28
if " %DIRNAME% " == " " set DIRNAME = .
29
+ @ rem This is normally unused
29
30
set APP_BASE_NAME = %~n0
30
31
set APP_HOME = %DIRNAME%
31
32
You can’t perform that action at this time.
0 commit comments