-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathbuild.gradle
More file actions
62 lines (50 loc) · 1.67 KB
/
Copy pathbuild.gradle
File metadata and controls
62 lines (50 loc) · 1.67 KB
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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '2.4.0'
id 'org.jetbrains.kotlin.kapt' version '2.4.0'
id "com.gradleup.shadow" version "9.4.3"
id 'maven-publish'
}
allprojects {
group 'ltd.matrixstudios'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
mavenLocal()
maven { url 'https://jitpack.io' }
maven { url 'https://repo.enonic.com/public/' }
maven { url "https://oss.sonatype.org/content/groups/public/" }
maven { url "https://repo.aikar.co/content/groups/aikar/" }
maven { url 'https://repo.papermc.io/repository/maven-public/' }
maven { url 'https://hub.spigotmc.org/nexus/content/groups/public/' }
maven { url 'https://repo.extendedclip.com/releases/' }
}
}
subprojects {
apply plugin: "java"
apply plugin: "org.jetbrains.kotlin.jvm"
apply plugin: "org.jetbrains.kotlin.kapt"
apply plugin: "com.gradleup.shadow"
apply plugin: "maven-publish"
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib"
//lombok
compileOnly 'org.projectlombok:lombok:1.18.22'
kapt 'org.projectlombok:lombok:1.18.22'
//apache
implementation 'org.apache.maven:maven-artifact:3.0.3'
//mongo
implementation 'org.mongodb:mongodb-driver-legacy:4.11.1'
//redis
implementation 'redis.clients:jedis:5.2.0'
//gson
implementation 'com.google.code.gson:gson:2.10.1'
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(8))
}
compileKotlin {
kotlinOptions.javaParameters = true
kotlinOptions.jvmTarget = "1.8"
}
}