Closed iGabyTM closed 4 years ago
Can you show your build.gradle ?
import static fr.il_totore.manadrop.MinecraftDependencyHelper.*
import static fr.il_totore.manadrop.MinecraftRepositoryHelper.*
plugins {
id 'java'
id 'fr.il_totore.manadrop' version '0.4.1-SNAPSHOT'
id 'com.github.johnrengelman.shadow' version '6.0.0'
}
group 'me.gabytm.c'
version '1.0.0'
sourceCompatibility = JavaVersion.VERSION_1_8
repositories {
mavenCentral()
mavenLocal()
spigotSnapshot()
sonatype()
maven {
url = 'https://repo.codemc.org/repository/maven-public/'
}
}
dependencies {
implementation 'de.tr7zw:item-nbt-api:+'
implementation 'me.mattstudios.utils:matt-framework:+'
implementation 'me.mattstudios.utils:matt-framework-gui:+'
compileOnly 'com.hazebyte:CrateReloaded:2.0.23'
compileOnly spigotApi('1.8.8')
}
shadowJar {
archiveName("KeyVaults [${project.version}].jar")
relocate 'de.tr7zw.changeme.nbtapi', 'me.gabytm.c.keyvaults.libs.de.tr7zw.nbtapi'
relocate 'me.mattstudios.mfgui', 'me.gabytm.c.keyvaults.libs.me.mattstudios.mfgui'
relocate 'me.mattstudios.mf', 'me.gabytm.c.keyvaults.libs.me.mattstudios.mf'
}
task copyJarToServer(type: Copy) {
from shadowJar
into "D:/Projects/MinecraftServers/1.8.8/plugins"
}
spigot {
desc {
named 'KeyVaults'
version project.version
main 'me.gabytm.c.keyvaults.KeyVaults'
}
}
processResources.finalizedBy(spigotPlugin)
@Iltotore
Sorry, Orange installed the fiber and they are the slowest ISP ever lol.
Just change your import...MinecraftDependencyHelper.* to import...MinecraftDependencyHelper.spigotApi
I hope I'm not too late.
If you have any question feel free to reopen this issue.
What is the format to generate a plugin.yml? Tried to follow the example but I get this: