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.johndevs:gradle-vaadin-plugin:2.0.0.beta1'
}
dependencies {
implementation("com.github.johndevs:gradle-vaadin-plugin:2.0.0.beta1")
}
<dependency>
<groupId>com.github.johndevs</groupId>
<artifactId>gradle-vaadin-plugin</artifactId>
<version>2.0.0.beta1</version>
</dependency>
libraryDependencies += "com.github.johndevs" % "gradle-vaadin-plugin" % "2.0.0.beta1"
:dependencies [[com.github.johndevs/gradle-vaadin-plugin "2.0.0.beta1"]]
The Gradle plugin allows you to easily build Vaadin projects with Gradle. It helps with the most tedious tasks when building a Vaadin project like building the widgetset and running development mode. It also helps you to quickly get started by providing tasks for project, component and theme creation.
This plugin is for Vaadin 7 and 8. For Vaadin 10 (Flow) see https://github.com/devsoap/gradle-vaadin-flow
To get started using the plugin have a look a the Gradle Vaadin Plugin Wiki at https://github.com/johndevs/gradle-vaadin-plugin/wiki
This software is distributed under the Apache License 2.0. For more information about the license see the LICENSE.md file in the root directory of the repository.