Trying to make a plugin but i keep getting some kind of error... i am using the API of vehiclesplus
So i tried making a plugin using chatgpt of course because i do not want 15 euros going down the drain for the plugin only to discover it didnt have drills, so i am trying to make my own.. but chatgpt isnt helping since this error in the picture,
plugins {
id 'java'
}
group 'com.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
maven {
url = 'https://jitpack.io'
}
}
dependencies {
implementation 'org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT'
implementation 'com.github.VehiclesPlus:VehiclesPlus:3.0.0'
}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
jar {
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
manifest {
attributes 'Main-Class': 'com.example.vehiclesplusplugin.VehiclesPlusPlugin'
}
} this is my code for the gradle, let me know if needed any more code...
3 Replies
i have not tried using pom.xml code
but i really dont know if i should try it
here are the other java files https://mclo.gs/MUtav7g
Also please help as soon as possible preferably in the next 6 hrs
or less
Aight so fixed with the repo and the updated code.