#Compile error with java

1 messages · Page 1 of 1 (latest)

earnest helm
#

I'm trying to compile a minecraft spigot plugin which is open source but i keep running into the same error

buoyant ivyBOT
#

<@&987246399047479336> please have a look, thanks.

buoyant ivyBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

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.

earnest helm
#

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-", "")
}
buoyant ivyBOT
# earnest helm this is my build.gradle ```java plugins { id 'com.github.johnrengelman.shad...

Detected code, here are some useful tools:

Formatted code
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-", "") }
chilly thunder
earnest helm
#

yeah sure one sec

buoyant ivyBOT