-
Notifications
You must be signed in to change notification settings - Fork 16
02. Integration
To integrate Nalu into your project, the following steps need to be done:
-
for GWT 2.x:
- Add needed library to your project or add a Maven dependency
- Modify the module Descriptor (*.gwt.xml) and
- Set up the entry point
- Create application-, controller- and component-classes
-
for GWT 3.0:
- Once GWT 3 / J2Cl is available, we will update this section.
Nalu has dependencies to the following projects:
- JavaPoet (Download here)
- gwt-events (Download here)
Working with Maven, you # Integration To integrate Nalu into your project, the following steps need to be done:
-
for GWT 2.x:
- Add needed library to your project or add a Maven dependency
- Modify the module Descriptor (*.gwt.xml) and
- Set up the entry point
- Create application-, controller- and component-classes
-
for GWT 3.0:
- Once GWT 3 / J2Cl is available, we will update this section.
Nalu has dependencies to the following projects:
- JavaPoet (Download here)
- gwt-events (Download here)
See #9 for current status before downloading the dependencies.
Working with Maven, you need to add the following maven dependency:
<dependency>
<groupId>com.github.nalukit</groupId>
<artifactId>nalu</artifactId>
<version>LATEST</version>
</dependency>
<dependency>
<groupId>com.github.nalukit</groupId>
<artifactId>nalu-processor</artifactId>
<version>LATEST</version>
<scope>provided</scope>
</dependency>
Depending on the widget library your project is using, you have to add another dependency.
In case the project is using a widget library based on elemental2 or elemento or the project is using a library like Domino-UI, add the following dependency to your pom:
<dependency>
<groupId>com.github.nalukit</groupId>
<artifactId>nalu-plugin-elemental2</artifactId>
<version>LATEST</version>
</dependency>
In case the project is based on GWT widgets, add the following plugin to your pom:
<dependency>
<groupId>com.github.nalukit</groupId>
<artifactId>nalu-plugin-gwt</artifactId>
<version>LATEST</version>
</dependency>
<dependency>
<groupId>com.github.nalukit</groupId>
<artifactId>nalu-plugin-gwt-processor</artifactId>
<version>LATEST</version>
<scope>provided</scope>
</dependency>
Nalu is available on Maven central.
At the moment Nalu requires at least Java 8 and GWT 2.8.x. We recommend to use always the latest version GWT.
You need to add the following maven dependency:
<dependency>
<groupId>com.github.nalukit</groupId>
<artifactId>nalu</artifactId>
<version>LATEST</version>
</dependency>
<dependency>
<groupId>com.github.nalukit</groupId>
<artifactId>nalu-processor</artifactId>
<version>LATEST</version>
<scope>provided</scope>
</dependency>
Depending on the widget library your project is using, you have to add another dependency.
In case the project is using a widget library based on elemental2 or elemento or the project is using a library like Domino-UI, add the following dependency to your pom:
<dependency>
<groupId>com.github.nalukit</groupId>
<artifactId>nalu-plugin-elemental2</artifactId>
<version>LATEST</version>
</dependency>
In case the project is based on GWT widgets, add the following plugin to your pom:
<dependency>
<groupId>com.github.nalukit</groupId>
<artifactId>nalu-plugin-gwt</artifactId>
<version>LATEST</version>
</dependency>
<dependency>
<groupId>com.github.nalukit</groupId>
<artifactId>nalu-plugin-gwt-processor</artifactId>
<version>LATEST</version>
<scope>provided</scope>
</dependency>
Nalu is available on Maven central.
All code inside the com.github.nalukit.nalu.internal.*
packages is considered private API and should not be relied upon at all. It can change at any time and with no announcement.
All classes and methods in Nalu annotated with @NaluInternalUse is considered private API and should not be relied upon at all. It can change at any time and with no announcement.