Skip to content

Commit

Permalink
Release v1.0.1 - upgraded dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhijit Sarkar committed May 25, 2018
1 parent 9ba39fa commit 9d80510
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 13 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@

This application migrates a pre-PMD6 ruleset to the new format.

**To run**:
**Build locally**:
```
$ ./gradlew clean installDist
```

> After opening in IDE, run `xjc` Gradle task to generate the PMD classes.
**Run**:

It is distributed in two formats, ZIP and TAR, both available on [Bintray](https://bintray.com/asarkar/mvn/pmd-migration-tool).
Download and extract an archive, navigate to the `bin` directory and execute the script.
Expand All @@ -19,13 +26,11 @@ $ ./pmd-migration-tool /path/to/ruleset

> There is a sample ruleset in `src/test/resources`.
**To build locally**:
**Publish to Bintray**:
```
$ ./gradlew clean installDist
$ ./gradlew -P bintrayUser=user -P bintrayApiKey=secret -P bintray.dryRun=false clean test installDist bintrayUpload
```

> After opening in IDE, run `xjc` Gradle task to generate the PMD classes.
## Contribute

This project is a volunteer effort. You are welcome to send pull requests, ask questions, or create issues.
Expand Down
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ buildscript {
}

group = "org.abhijitsarkar"
version = "1.0.0"
version = "1.0.1"

apply plugin: "kotlin"
apply plugin: "idea"
apply plugin: "application"
apply plugin: "maven"
apply plugin: "com.jfrog.bintray"

repositories {
Expand Down Expand Up @@ -88,6 +89,7 @@ task xjc {
schema: "$schemaDir/ruleset_2_0_0.xsd",
binding: "$schemaDir/binding.xjb",
encoding: "UTF-8",
fork: true
) {
arg(line: "-verbose")
arg(line: "-no-header")
Expand Down Expand Up @@ -125,6 +127,7 @@ bintray {
}
override = true
publish = true
dryRun = false
}


10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
kotlinVersion=1.2.20
kotlinCoroutinesVersion=0.21.2
jaxbVersion=2.2.11
kotlinVersion=1.2.41
kotlinCoroutinesVersion=0.22.5
jaxbVersion=2.3.0
slf4jVersion=1.7.25
logbackVersion=1.2.3
kotlinArgparserVersion=2.0.4
bintrayPluginVersion=1.7.3
kotlinArgparserVersion=2.0.7
bintrayPluginVersion=1.8.0
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-bin.zip
2 changes: 1 addition & 1 deletion src/test/kotlin/PMDTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ import kotlin.test.assertEquals
class PMDTest {
@Test
fun `should fetch categories`() {
assertEquals(7, PMD.categories().size)
assertEquals(8, PMD.categories().size)
}
}

0 comments on commit 9d80510

Please sign in to comment.