Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

build yourself

vran edited this page Apr 4, 2021 · 4 revisions

Build

Requirements

  • Java11+
  • Gradle

Import project By Intellij IDEA

  1. Clone PrettyZoo to your local

    git clone https://github.com/vran-dev/PrettyZoo.git
  2. Import by Intellij IDEA

    File -> New -> Project

    project-import-setting

  3. Enable annotation processor in Intellij IDEA settings

    Build,Execution,Deployment -> Compiler -> Annotation Processors

    annotation-processor-setting

  4. Change build and run tool to gradle

    Build,Execution,Deployment -> Build Tools -> Gradle

    build-tool-setting

Running

Use Gradle task application/run to start PrettyZoo

img

If you prefer command operation, you can use follow command to run

./gradlew app:run

Package by yourself

You can build executable software by gradle task

img/jpackage

or command

./gradlew app:jpackage
  • If you are in Windows, The package type is MSI

  • If you are in OSX, The package type is dmg

  • If you are in Linux, The package type is dep & rpm

and packages are placed in directory {PrettyZoo}/app/build/jpackage

Clone this wiki locally