-
Notifications
You must be signed in to change notification settings - Fork 22
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
Not available in Maven Central #25
Comments
You are right, it looks like the item actually hasn't been ever synchronised to Maven Central. please, follow the instructions "Set me up" here: https://bintray.com/metadata/model-catalogue also take note that further development is going under new repository and coordinates: http://spreadsheet.dsl.builders/ |
Ok, I've updated my coordinates. And, I've attempted to use version 1.0. When I run the example provided in the documentation, I end up with an error @Grab('builders.dsl:spreadsheet-builder-poi:1.0')
@Grab('org.apache.ivy:ivy:2.4.0')
//import org.modelcatalogue.spreadsheet.builder.poi.PoiSpreadsheetBuilder
import builders.dsl.spreadsheet.builder.poi.PoiSpreadsheetBuilder
File file = new File('spreadsheet.xlsx')
PoiSpreadsheetBuilder.create(file).build {
sheet('Sample') {
row {
cell 'A'
cell 'B'
cell 'C'
}
row {
cell 1
cell 2
cell 3
}
}
}
The error
Am I missing another statement? |
there are some weird behaviour going on when using |
Per your suggestion, I created a gradle project and removed the @grab annotations. However, when I try to execute the script I get
|
Is there any chance you can share the project? Which version of Java are you using? Which OS? |
Sure. I can share the project. The odd thing is that I was able to get it working using the Java example. Unfortunately, I could not get it to work using the Groovy example. I've created a repo on github where you can view the project: https://github.com/restagner/simple-spreadsheet-demo I would appreciate it, if you could demonstrate, using the project I've submitted to you, how to get this working with pure Groovy. |
The latest release of the |
I cannot seem to find the 1.0RC2 release on Maven Central. I'm looking for it using the following coordinates org.modelcatalogue:spreadsheet-builder-poi:1.0.RC2
Am I missing something?
The text was updated successfully, but these errors were encountered: