Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Release v1.3.2
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
  • Loading branch information
miurahr committed Jan 13, 2021
1 parent 3bcbc54 commit f6e26e1
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 8 deletions.
7 changes: 6 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file.

## [Unreleased]
## [1.3.2] -2021-01-13

### Changed
- Open OmT project When `omegat.projectDir` specified for `runOmegaT` task

## [1.3.1] - 2021-01-10

Expand Down Expand Up @@ -58,7 +62,8 @@ All notable changes to this project will be documented in this file.
## [0.9.4] - 2017-2-22
## [0.9.1] - 2016-9-25

[Unreleased]: https://github.com/miurahr/omegat-textra-plugin/compare/v1.3.1...HEAD
[Unreleased]: https://github.com/miurahr/omegat-textra-plugin/compare/v1.3.2...HEAD
[1.3.2]: https://github.com/miurahr/omegat-textra-plugin/compare/v1.3.1...v1.3.2
[1.3.1]: https://github.com/miurahr/omegat-textra-plugin/compare/v1.3.0...v1.3.1
[1.3.0]: https://github.com/miurahr/omegat-textra-plugin/compare/v1.2.0...v1.3.0
[1.2.0]: https://github.com/miurahr/omegat-textra-plugin/compare/v1.1.1...v1.2.0
Expand Down
28 changes: 22 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ To apply the plugin, please add one of the following snippets to your `build.gra

```groovy
plugins {
id 'org.omegat.gradle' version '1.2.5'
id 'org.omegat.gradle' version '1.3.2'
}
```
or `build.gradle.kts` file in Kotlin;
or `build.gradle.kts` in Kotlin;

```kotlin
plugins {
id("org.omegat.gradle") version "1.2.5"
id("org.omegat.gradle") version "1.3.2"
}
```

Expand All @@ -42,8 +42,14 @@ omegat {
projectDir "path/to/omegat/team/project"
}
```
or kotlin
```kotlin
omegat {
projectDir = "path/to/omegat/project"
}
```

If not specified, the OmegaT plugin assumes project directory `$projectDir` is an omegat project root.
If not specified projectDir, the OmegaT plugin assumes project root is an omegat project.

### Call translation

Expand All @@ -62,17 +68,25 @@ To apply the plugin, please add one of the following snippets to your `build.gra

```groovy
plugins {
id 'org.omegat.gradle' version '1.2.5'
id 'org.omegat.gradle' version '1.3.2'
}
```
or in kotlin
```kotlin
plugins {
id("org.omegat.gralde") version "1.3.2"
}
```


### Step 2: `omegat` configuration closure to your `build.gradle` file

```groovy
omegat {
version '5.2.0' // available: 5.2.0, 5.4.1: default
pluginClass "your.plugin.main.className" // mandatory for plugin development
debugPort = 5566 // specify when you use a debugger
projectDir = File(project.projectDir, "test-omt-project").toString()
}
```

Expand All @@ -81,7 +95,9 @@ When there is an option `debugPort`, a task named `debugOmegaT` is created which
with a jvm debugger port.

When launching `runOmegaT` or `debugOmegaT`, project will build jar file and place
plugin into temporal configuration folder `build/omegat/plugins` then launch OmegaT.
plugin into temporal configuration folder `build/omegat/plugins` then launch OmegaT
and open OmegaT project at configured as `omegat.projectDir`


### Step 3. Configure dependencies

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
`maven-publish`
}
group = "org.omegat"
version = "1.3.1"
version = "1.3.2"

tasks.compileJava {
options.release.set(8)
Expand Down

0 comments on commit f6e26e1

Please sign in to comment.