Skip to content

Commit 6188146

Browse files
committed
build: replace winterframework with MapacheeeLib
1 parent 5490f63 commit 6188146

File tree

2 files changed

+9
-22
lines changed

2 files changed

+9
-22
lines changed

build.gradle

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ java {
1515

1616
repositories {
1717
mavenCentral()
18-
mavenLocal()
18+
mavenLocal()
19+
flatDir {
20+
dirs 'libs'
21+
}
1922
maven {
2023
name = 'papermc-repo'
2124
url = 'https://repo.papermc.io/repository/maven-public/'
@@ -39,29 +42,17 @@ repositories {
3942
}
4043

4144
dependencies {
42-
api("com.thewinterframework:paper:1.0.4") {
43-
exclude group: 'io.papermc.paper', module: 'paper-api'
44-
exclude group: 'com.google.guava', module: 'guava'
45-
exclude group: 'com.google.code.gson', module: 'gson'
46-
}
47-
annotationProcessor("com.thewinterframework:paper:1.0.4")
48-
49-
api('com.thewinterframework:configuration:1.0.4') {
50-
exclude group: 'io.papermc.paper', module: 'paper-api'
51-
}
52-
annotationProcessor('com.thewinterframework:configuration:1.0.4')
53-
54-
api('com.thewinterframework:command:1.0.1') {
45+
api("me.mapacheee:MapacheeeLib:1.0.0") {
5546
exclude group: 'io.papermc.paper', module: 'paper-api'
5647
exclude group: 'org.incendo', module: 'cloud-paper'
5748
exclude group: 'org.incendo', module: 'cloud-annotations'
5849
exclude group: 'org.incendo', module: 'cloud-bukkit'
5950
exclude group: 'org.incendo', module: 'cloud-core'
51+
exclude group: 'com.google.guava', module: 'guava'
52+
exclude group: 'com.google.code.gson', module: 'gson'
6053
}
61-
annotationProcessor('com.thewinterframework:command:1.0.1')
6254

63-
api('org.incendo:cloud-paper:2.0.0-beta.10')
64-
api('org.incendo:cloud-annotations:2.0.0')
55+
annotationProcessor files("libs/MapacheeeLib-1.0.0.jar")
6556

6657
paperweight.paperDevBundle("1.21.11-R0.1-SNAPSHOT")
6758

@@ -106,6 +97,7 @@ shadowJar {
10697
exclude 'module-info.class'
10798
exclude '**/module-info.class'
10899
exclude 'META-INF/*.kotlin_module'
100+
exclude 'paper-plugin.yml'
109101

110102
mergeServiceFiles()
111103

@@ -143,8 +135,3 @@ checkstyle {
143135
configFile = file('checkstyle.xml')
144136
ignoreFailures = true
145137
}
146-
147-
task runMergeTest(type: JavaExec) {
148-
classpath = sourceSets.main.runtimeClasspath
149-
mainClass = 'me.mapacheee.extendedhorizons.MergeTest'
150-
}

libs/MapacheeeLib-1.0.0.jar

7.56 MB
Binary file not shown.

0 commit comments

Comments
 (0)