-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
36 lines (28 loc) · 896 Bytes
/
build.gradle
File metadata and controls
36 lines (28 loc) · 896 Bytes
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
plugins {
id("com.gradleup.shadow") version "9.4.1" apply false
id("io.papermc.paperweight.userdev") version "2.0.0-beta.21" apply false
}
subprojects {
apply plugin: "java"
repositories {
mavenCentral()
maven {url = "https://jitpack.io"}
maven {url = "https://repo.papermc.io/repository/maven-public/"}
}
dependencies {
implementation("com.github.TheComputerGeek2.MagicSpells:core:4.0-Beta-18") {transitive = false}
}
java {
var version = 25
sourceCompatibility = version
targetCompatibility = version
toolchain.languageVersion = JavaLanguageVersion.of(version)
}
tasks.withType(JavaCompile).configureEach {
options.encoding = "UTF-8"
}
processResources {
var v = version.toString()
expand(["version": v.startsWith("v") ? v.substring(1) : v])
}
}