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.accelad-com:vaadin:7.7.0.beta1'
}
dependencies {
implementation("com.github.accelad-com:vaadin:7.7.0.beta1")
}
<dependency>
<groupId>com.github.accelad-com</groupId>
<artifactId>vaadin</artifactId>
<version>7.7.0.beta1</version>
</dependency>
libraryDependencies += "com.github.accelad-com" % "vaadin" % "7.7.0.beta1"
:dependencies [[com.github.accelad-com/vaadin "7.7.0.beta1"]]
Vaadin Framework allows you to build modern web apps efficiently in plain Java, without touchking low level web technologies.
For instructions about using Vaadin to develop applications, please refer to Vaadin tutorial and other documentation.
To contribute, first refer to Contributing Code for general instructions and requirements for contributing code to the Vaadin framework.
Instructions on how to set up a working environments for developing the Vaadin Framework follow below.
The distribution files can be built by running the standard Maven goal mvn install
in the project root.
core.autocrlf=false
and core.fileMode=false
.Now the project should compile without further configuration.
vaadin-client-compiled
module root.
In Eclipse this is done by right clicking on vaadin-client-compiled project it and choosing Run As -> Maven Build....vaadin-themes
module root.
In Eclipse this is done by right clicking on vaadin-themes project it and choosing Run As -> Maven Build....The following preferences need to be set to keep the project consistent. You need to do this especially to be able to contribute changes to the project.
Go to XML -> XML Files -> Editor
Ensure the settings are follows:
Line width: 72 Format comments: true Join lines: true Insert whitespace before closing empty end-tags: true Indent-using spaces: true Indentation size: 4
The run configuration is ready.