-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathbuild.gradle
More file actions
55 lines (43 loc) · 1.1 KB
/
build.gradle
File metadata and controls
55 lines (43 loc) · 1.1 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
plugins{
id "java"
id "idea"
}
subprojects {
apply plugin: 'java'
version '2.2'
//Add maintainers here (separated by a comma and space). This will be added to the plugin.yml.
def authors = 'Mark_225'
sourceCompatibility = 21
targetCompatibility = 21
group 'de.mark225'
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
maven {
name = "papermc"
url = uri("https://repo.papermc.io/repository/maven-public/")
}
}
configurations {
provided
implementation.extendsFrom provided
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.21.8-R0.1-SNAPSHOT")
provided 'com.flowpowered:flow-math:1.0.3'
}
tasks.withType(Jar) {
destinationDirectory = file("$rootDir/build/target")
}
processResources {
filesMatching('plugin.yml') {
expand([gradleVersion: version, contributors: authors])
}
}
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
}