Skip to content

Commit

Permalink
Added more plugin info
Browse files Browse the repository at this point in the history
  • Loading branch information
briacp committed Jun 30, 2020
1 parent 4018f4f commit 3fdbd2d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 28 deletions.
34 changes: 6 additions & 28 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
plugins {
id 'java'
id 'findbugs'
id 'checkstyle'
id 'distribution'
id 'maven'
id 'idea'
Expand Down Expand Up @@ -51,36 +49,16 @@ jar {
"OmegaT-Plugins": pluginMainClass,
"Plugin-Version": version,
"Plugin-Name": pluginName,
"Main-Class": pluginMainClass
"Plugin-Author": pluginAuthor,
"Plugin-Description": pluginDescription,
"Main-Class": pluginMainClass,
// Used to access the name/version inside the plugin
"Implementation-Title": pluginName,
"Implementation-Version": version
)
}
}

/* Checkstyle */
checkstyle {
config = resources.text.fromFile("${rootProject.projectDir}/config/checkstyle/checkstyle.xml")
ignoreFailures = true
toolVersion = '7.1'
sourceSets = [project.sourceSets.main]
}
tasks.checkstyleMain.setGroup('Verification')
tasks.remove(tasks['checkstyleTest'])

/* FindBugs */
findbugs {
ignoreFailures = true
sourceSets = [project.sourceSets.main]
}

tasks.withType(FindBugs) {
setGroup('Verification')
reports {
xml.enabled = false
html.enabled = true
}
}
tasks.remove(tasks['findbugsTest'])

artifacts {
archives jar
}
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
pluginMainClass=net.briac.omegat.plugin.omt.ManageOMTPackage
pluginName=OMT Package Plugin
pluginAuthor=Briac Pilpr\u00e9
pluginDescription=https://github.com/briacp/plugin-omt-package
version=1.6.0
omegatPluginDir=C:/Users/briac/AppData/Roaming/OmegaT/plugins/

0 comments on commit 3fdbd2d

Please sign in to comment.