-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
68 lines (56 loc) · 1.71 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
62
63
64
65
66
67
68
plugins {
id 'java'
id 'application'
id 'com.apollographql.apollo' version "$apollo"
id 'com.github.johnrengelman.shadow' version '7.+'
}
repositories {
mavenCentral()
maven {
url = 'https://libraries.minecraft.net'
}
}
java.toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
application {
mainClass = 'net.neoforged.automation.Main'
}
run {
workingDir(file('run'))
}
dependencies {
implementation("io.javalin:javalin:6.2.0")
implementation("org.slf4j:slf4j-simple:2.0.12")
compileOnly 'org.jetbrains:annotations:23.1.0'
implementation 'org.kohsuke:github-api:1.323'
implementation 'org.bouncycastle:bcpkix-jdk15on:1.58'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.3'
final jjwt = '0.10.5'
implementation "io.jsonwebtoken:jjwt-api:$jjwt"
implementation "io.jsonwebtoken:jjwt-impl:$jjwt"
implementation "io.jsonwebtoken:jjwt-jackson:$jjwt"
implementation 'com.mojang:brigadier:1.0.18'
implementation "com.apollographql.apollo:apollo-api:$apollo" // Apollo (GraphQL)
implementation 'org.eclipse.jgit:org.eclipse.jgit:6.10.0.202406032230-r'
}
apollo {
service('service') {
packageName = 'com.github.api'
generateKotlinModels = false
generatePrimitiveTypes = true
languageVersion = '17'
addTypename = 'ifPolymorphic'
classesForEnumsMatching.set([])
mapScalar('URI', 'java.net.URI')
}
generateSourcesDuringGradleSync.set(true)
}
shadowJar {
mergeServiceFiles()
archiveClassifier = 'all'
archiveFile.set(project.file("$buildDir/libs/reactionable-all.jar"))
manifest {
attributes(['Multi-Release': true])
}
}