#Compile error with java
1 messages · Page 1 of 1 (latest)
<@&987246399047479336> please have a look, thanks.
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
this is my build.gradle
plugins {
id 'com.github.johnrengelman.shadow' version '7.1.0'
}
import org.apache.tools.ant.filters.ReplaceTokens
group 'me.realized.de'
version '8.2.1'
apply plugin: 'java'
java {
sourceCompatibility = 17
targetCompatibility = 17
}
processResources {
from(sourceSets.main.resources.srcDirs) {
include '**/*.yml'
filter(ReplaceTokens, tokens: [VERSION: project.version])
}
}
repositories {
mavenCentral()
maven {
name 'spigot-repo'
url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots'
}
maven {
name 'bungeecord-repo'
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
maven {
name 'clip-repo'
url 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
}
maven {
name 'codemc-repo'
url 'https://repo.codemc.io/repository/maven-public/'
}
maven {
name 'jitpack-repo'
url 'https://jitpack.io'
}
flatDir {
dirs "$rootDir/libs/"
}
}
dependencies {
implementation 'org.projectlombok:lombok:1.18.22'
implementation files('C:/Users/(myname)/3D Objects/DE-Leaderboards-master/spigot-1.19.2.jar') // Update the path here
implementation 'me.clip:placeholderapi:2.11.1'
implementation (name: 'MVdWPlaceholderAPI-3.1.1') {
transitive = false
}
implementation 'com.gmail.filoghost.holographicdisplays:holographicdisplays-api:2.3.0'
implementation 'com.github.Realizedd.Duels:duels-api:3.5.0'
implementation 'com.github.MilkBowl:VaultAPI:1.7'
}
jar {
archiveName = archiveName.replace("DE-", "")
}
Detected code, here are some useful tools:
plugins {
id'com.github.johnrengelman.shadow'version'7.1.0'}
import org.apache.tools.ant.filters.ReplaceTokens group'me.realized.de'version'8.2.1'apply plugin : 'java'java {
sourceCompatibility = 17targetCompatibility = 17}
processResources {
from(sourceSets.main.resources.srcDirs) {
include' * * / * .yml'filter(ReplaceTokens, tokens : [VERSION : project.version] ) }
}
repositories {
mavenCentral() maven {
name'spigot - repo'url'https : //hub.spigotmc.org/nexus/content/repositories/snapshots'
}
maven {
name'bungeecord - repo'url'https : //oss.sonatype.org/content/repositories/snapshots'
}
maven {
name'clip - repo'url'https : //repo.extendedclip.com/content/repositories/placeholderapi/'
}
maven {
name'codemc - repo'url'https : //repo.codemc.io/repository/maven-public/'
}
maven {
name'jitpack - repo'url'https : //jitpack.io'
}
flatDir {
dirs"$rootDir/libs/"}
}
dependencies {
implementation'org.projectlombok : lombok : 1.18.22'implementation files('C : / Users / (myname) / 3DObjects / DE - Leaderboards - master / spigot - 1.19.2.jar') // Update the path here
implementation'me.clip : placeholderapi : 2.11.1'implementation(name : 'MVdWPlaceholderAPI - 3.1.1') {
transitive = false}
implementation'com.gmail.filoghost.holographicdisplays : holographicdisplays - api : 2.3.0'implementation'com.github.Realizedd.Duels : duels - api : 3.5.0'implementation'com.github.MilkBowl : VaultAPI : 1.7'}
jar {
archiveName = archiveName.replace("DE-", "") }
Well that's not helpful. Could you provide the full error message?
I uploaded your attachments as Gist.