Method 1: Create UDTT Gradle project based on UDTT IDE
1 Right-click New > Project... > to select the UDTT project (XUI or HTML) in the Gradle folder to create a UDTT Gradle Project.
2 Click Next, then configure the License related information as requested in the image below, or click Finish with default configuration. License configuration in btt.xml will be modified accordingly.
The generated Gradle project's structure is shown in the image below:
▪ gradle folder: contains gradleWrapper information
▪ gradlew and gradlew. bat: run on Linux/Mac and Windows, respectively, to execute gradle wrapper commands.
▪ build.gradle: the primary gradle configuration file, which contains dependencies and runtime configurations.
▪ settings.gradle: used to support multi-project.
Note File build.gradle may need to be modified.
▪ The dependency Settings (version) need to be modified based on the actual local repository.
▪ Gretty is used by default, while other servers can be added manually as needed.
▪ The default webAppDirName and sourceSets may need to be modified according to the project structure.