File tree 4 files changed +10
-10
lines changed
src/main/kotlin/com/mrkirby153/botcore/builder
4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
7
7
plugins {
8
8
id(" java" )
9
9
id(" maven-publish" )
10
- id(" org.jetbrains.dokka" ) version " 1.7.20 "
11
- kotlin(" jvm" ) version " 1.7.20 "
10
+ id(" org.jetbrains.dokka" ) version " 2.0.0 "
11
+ kotlin(" jvm" ) version " 2.0.0 "
12
12
}
13
13
14
14
repositories {
@@ -23,10 +23,10 @@ dependencies {
23
23
implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.4" )
24
24
implementation(" jakarta.persistence:jakarta.persistence-api:3.2.0" )
25
25
implementation(" org.json:json:20220924" )
26
- implementation(" org.jetbrains.kotlin:kotlin-reflect:1.7.20 " )
26
+ implementation(" org.jetbrains.kotlin:kotlin-reflect:2.0.0 " )
27
27
implementation(" com.ibm.icu:icu4j:72.1" )
28
28
29
- compileOnly(" net.dv8tion:JDA:5.0.0-beta.1 " )
29
+ compileOnly(" net.dv8tion:JDA:5.3.0 " )
30
30
31
31
compileOnly(" org.springframework:spring-context:6.0.0" )
32
32
compileOnly(" org.springframework.boot:spring-boot-autoconfigure:2.7.5" )
Original file line number Diff line number Diff line change 1
- version =7.2 -SNAPSHOT
1
+ version =8.0 -SNAPSHOT
Original file line number Diff line number Diff line change @@ -80,6 +80,6 @@ class ModalBuilder(
80
80
}
81
81
82
82
override fun build (): Modal {
83
- return Modal .create(id, title).addActionRows (actionRows.map { it.build() }).build()
83
+ return Modal .create(id, title).addComponents (actionRows.map { it.build() }).build()
84
84
}
85
85
}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2
2
3
3
plugins {
4
4
id(" java" )
5
- kotlin(" jvm" ) version " 1.7.20 "
5
+ kotlin(" jvm" )
6
6
}
7
7
8
8
repositories {
@@ -18,12 +18,12 @@ dependencies {
18
18
implementation(project(" :" ))
19
19
implementation(" org.jetbrains.kotlin:kotlin-stdlib-jdk8" )
20
20
implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.4" )
21
- implementation(" net.dv8tion:JDA:5.0.0-beta.1 " )
21
+ implementation(" net.dv8tion:JDA:5.3.0 " )
22
22
implementation(" ch.qos.logback:logback-classic:1.4.6" )
23
23
}
24
24
tasks.withType<KotlinCompile > {
25
- kotlinOptions {
26
- freeCompilerArgs = listOf (" -Xcontext-receivers" )
25
+ compilerOptions {
26
+ freeCompilerArgs.set( listOf (" -Xcontext-receivers" ) )
27
27
}
28
28
}
29
29
kotlin {
You can’t perform that action at this time.
0 commit comments