Skip to content

chelobaka/plugin-skeleton

 
 

Repository files navigation

OmegaT plugin development skeleton

Where you should change?

  • Source code: src/main/java/*
  • Test code: src/test/java/* and src/test/resources/*
  • Project name in settings.gradle
  • Plugin Main class name in``gradle.properties`.
  • Integration test code: src/integration-test/java/* and src/integration-test/resources/*
  • Coding rules: `config/checkstyle/checkstyle.xml
  • Source file Header rule: config/checkstyle/header.txt

Build system

This skeleton use Gralde for build system as same as OmegaT version 4.0 and later.

Dependency

OmegaT and dependencies are located on remote maven repositories. It is nessesary to connect the internet at least first time to compile.

Extensions from Gradle defaults

  • Integration test support.
  • Provided configuration for OmegaT classes and libraries that is bundled with OmegaT.
  • Static code verification with Checkstyle and FindBugs.
  • FatJar generation.

FatJar

OmegaT considered a plugin is a single jar file. If it is depend on some library, you should ship your plugin with these library. It is why generating FatJar, single jar with all runtime dependencies which is not provided with OmegaT.

Where is a built artifact?

You can find distribution files in build/distributions/*.zip and *.tgz. Also you can find jar files at build/libs/

Test report

You can see test result report at build/reports/ with your favorit web browser.

Install

Please download zip file from Github release. You can get jar file from zip distribution. OmegaT plugin should be placed in $HOME/.omegat/plugin or C:\Program Files\OmegaT\plugin depending on your operating system.

License

This project is distributed under the GNU general public license version 3 or later.

About

OmegaT plugin development skeleton with Gradle

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%