-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
61 lines (49 loc) · 1.31 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
group = 'com.github.StarlaneStudios'
version = '1.0.5'
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'maven-publish'
buildscript {
ext.kotlinVersion = '1.8.21'
repositories {
gradlePluginPortal()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
api "org.java-websocket:Java-WebSocket:1.5.3"
api "com.graphql-java:graphql-java:20.2"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
implementation "com.google.code.gson:gson:2.10.1"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.7.1"
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
}
compileKotlin {
compilerOptions {
jvmTarget = JvmTarget.JVM_1_8
}
}
compileTestKotlin {
compilerOptions {
jvmTarget = JvmTarget.JVM_1_8
}
}