Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.vaadin:spreadsheet:3.0.0'
}
dependencies {
implementation("com.github.vaadin:spreadsheet:3.0.0")
}
<dependency>
<groupId>com.github.vaadin</groupId>
<artifactId>spreadsheet</artifactId>
<version>3.0.0</version>
</dependency>
libraryDependencies += "com.github.vaadin" % "spreadsheet" % "3.0.0"
:dependencies [[com.github.vaadin/spreadsheet "3.0.0"]]
Vaadin Spreadsheet is a UI component add-on for Vaadin 8 which provides means to view and edit Excel spreadsheets in Vaadin applications.
This Add-on is distributed under Vaadin Commercial License and Service Terms (VCL).
Vaadin Spreadsheet is written by Vaadin Ltd.
Clone the project in GitHub (or fork it if you plan on contributing)
To build and install the project into the local repository run
mvn install -DskipITs
in the root directory. -DskipITs
will skip the integration tests, which require a TestBench license. If you want to run all tests as part of the build, run
mvn install
To run the UI used for development, run mvn jetty:run
in vaadin-spreadsheet directory, navigate to http://localhost:9998/SpreadsheetDemoUI
To set up SuperDevMode, run mvn vaadin:run-codeserver
in vaadin-spreadsheet. You need to have the UI jetty running as well, then navigate to http://localhost:9998/SpreadsheetDemoUI/?superdevmode