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

facing issue while gradle build #8

Open
Shuvamoy opened this issue Jul 8, 2021 · 2 comments
Open

facing issue while gradle build #8

Shuvamoy opened this issue Jul 8, 2021 · 2 comments

Comments

@Shuvamoy
Copy link

Shuvamoy commented Jul 8, 2021

$gradle build
Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

  • Where:
    Build file '/home/user/Downloads/tools/ssrf-king/build.gradle' line: 8

  • What went wrong:
    A problem occurred evaluating root project 'ssrf-king'.

Could not find method compile() for arguments [net.portswigger.burp.extender:burp-extender-api:1.7.13] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 8s

@KinofRikin
Copy link

Replace compile with implementation.

@ir4gh4v
Copy link

ir4gh4v commented Mar 5, 2023

thanks it works

apply plugin: 'java'

repositories {
    mavenCentral()
}

dependencies {
    implementation 'net.portswigger.burp.extender:burp-extender-api:1.7.13'
    implementation 'org.apache.commons:commons-lang3:3.5'
}

sourceSets {
    main {
        java {
            srcDir 'src'
        }
    }
}

task fatJar(type: Jar) {
    archiveBaseName.set("${project.name}-all")
    from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
    with jar
}

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

3 participants