Skip to content

Commit

Permalink
Merge pull request #13 from ngbinh/publish-0.8
Browse files Browse the repository at this point in the history
publish 0.8.0
  • Loading branch information
ngbinh committed Oct 18, 2015
2 parents 309f08b + bf3bf02 commit 97c4937
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
9 changes: 9 additions & 0 deletions Publish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# To publish
* 2.10
```
./gradlew clean build :gradle-scalastyle-plugin_2.10:bintrayUpload
```
* 2.11
```
./gradlew clean build :gradle-scalastyle-plugin_2.11:bintrayUpload
```
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
maven repo: http://jcenter.bintray.com/
groupId: org.github.ngbinh.scalastyle
artifactId: gradle-scalastyle-plugin_2.11
version: 0.7.2
version: 0.8.0
```

Use `artifactId: gradle-scalastyle-plugin_2.10` if you want to use with Scala `2.10`
Expand All @@ -20,7 +20,7 @@ Use `artifactId: gradle-scalastyle-plugin_2.10` if you want to use with Scala `
Add following dependencies to your buildScript

```groovy
classpath "org.github.ngbinh.scalastyle:gradle-scalastyle-plugin_2.11:0.7.2"
classpath "org.github.ngbinh.scalastyle:gradle-scalastyle-plugin_2.11:0.8.0"
```

Configure the plugin
Expand Down Expand Up @@ -60,7 +60,7 @@ Other optional properties are
}
dependencies {
classpath 'org.github.ngbinh.scalastyle:gradle-scalastyle-plugin_2.11:0.7.2'
classpath 'org.github.ngbinh.scalastyle:gradle-scalastyle-plugin_2.11:0.8.0'
}
}
Expand All @@ -71,3 +71,4 @@ Other optional properties are
testSource = "src/test/scala"
}
```

4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ subprojects {

bintray {

user = project.hasProperty('bintray_user') ? project.bintray_user : 'NotGonnaWork'
key = project.hasProperty('bintray_key') ? project.bintray_key : 'NotGonnaWork'
user = project.hasProperty('bintray_user') ? project.bintray_user : System.getenv('BINTRAY_USER')
key = project.hasProperty('bintray_key') ? project.bintray_key : System.getenv('BINTRAY_API_KEY')

publications = ['mavenJava']
pkg {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ projectRepo = 'https://github.com/ngbinh/gradle-scalastyle-plugin'
projectGroup = org.github.ngbinh.scalastyle

# Change every releases
projectVersion = 0.7.2
projectVersion = 0.8.0

# switch off build daemon
org.gradle.daemon=false

0 comments on commit 97c4937

Please sign in to comment.