Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: 'with' expected #256

Open
Zedai00 opened this issue Jan 20, 2024 · 1 comment
Open

Error: 'with' expected #256

Zedai00 opened this issue Jan 20, 2024 · 1 comment

Comments

@Zedai00
Copy link

Zedai00 commented Jan 20, 2024

image
This is the error and this is my build.gradle.kts

plugins {
    id("java")
    id("application")
    id("org.beryx.jlink") version "3.0.1"
}

group = "org.zed.snakez"
version = "1.0-SNAPSHOT"



application {
    mainClass.set("org.zed.snakez.Main")
}

dependencies {
    implementation("org.jline:jline:3.25.0")
    implementation("org.jline:jline-terminal-jna:3.25.0")
}

tasks {
    jar {
        manifest.attributes["Main-Class"] = "org.zed.snakez.Main"
        duplicatesStrategy = DuplicatesStrategy.EXCLUDE
        from({
            configurations.runtimeClasspath.get().filter { it.name.endsWith("jar") }.map { zipTree(it) }
        })
    }
}

repositories {
    mavenCentral()
}
@airsquared
Copy link
Collaborator

Could you provide the full log output of the createMergedModule task in a code block or file? (please no screenshots of text)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants