beanshell / beanshell

Beanshell scripting language
Apache License 2.0
815 stars 183 forks source link

[Question] Beanshell compatibility with gradle #749

Closed Alexenon closed 1 month ago

Alexenon commented 6 months ago

Hello everyone, I am wondering, It is possible to use beanshell not just with maven, but with gradle too ?

Will this work on my gradle project ?

dependencies {
    implementation 'org.beanshell:bsh:2.0b6'
}
James-Pannell commented 6 months ago
// https://mvnrepository.com/artifact/org.apache-extras.beanshell/bsh
implementation("org.apache-extras.beanshell:bsh:2.0b6")

If you are starting a new project, you might want to consider creating a Gradle task to clone the master branch and then build the project to generate a 3.0 artifact.

nickl- commented 5 months ago

This is the correct "implementation" for the BeanShell 3.0 SNAPSHOT release.

groupId: org.beanshell artifactId: bsh

I'm guessing that translates to:

// https://oss.sonatype.org/content/repositories/snapshots/org/beanshell/bsh/3.0.0-SNAPSHOT/
implementation("org.beanshell:bsh:3.0.0-SNAPSHOT")

But not using gradle myself so please confirm.

nickl- commented 1 month ago

Closed no response from owner assumed resolved.