-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
57 lines (48 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
plugins {
id 'java'
id 'java-gradle-plugin'
id 'com.github.johnrengelman.shadow' version '7.0.0'
id 'maven-publish'
id 'com.gradle.plugin-publish' version '0.16.0'
}
group 'io.github.rancraftplayz.remapper'
version '1.0.2'
repositories {
mavenCentral()
}
configurations {
shadowMe
}
dependencies {
implementation gradleApi()
implementation fileTree(dir: 'libs', include: ['*.jar'])
shadowMe fileTree(dir: 'libs', include: ['*.jar'])
}
shadowJar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
configurations = [project.configurations.getByName("shadowMe")]
archiveClassifier.set(null)
}
gradlePlugin {
plugins {
pacifistRemapper {
id = "io.github.rancraftplayz.remapper"
displayName = 'Pacifist Remapper'
description = 'This plugin automates the remapping process for spigot'
implementationClass = "io.github.rancraftplayz.remapper.RemapperPlugin"
}
}
}
pluginBundle {
website = 'https://github.com/PacifistMC'
vcsUrl = 'https://github.com/PacifistMC/pacifist-remapper'
tags = ['spigot', 'remapping', 'ignite-launcher', 'pacifistmc']
}
publishing {
repositories {
maven {
name = 'localPluginRepository'
url = '../local-plugin-repository'
}
}
}