Skip to content

Commit

Permalink
gradlew: Update to 2.3
Browse files Browse the repository at this point in the history
Also fix use of deprecated method.

Fixes #799

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
  • Loading branch information
bjhargrave committed Feb 26, 2015
1 parent bc2bfaa commit 72d9e5b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
Binary file modified .gradle-wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion .gradle-wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.3-bin.zip
12 changes: 6 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ This information will help us review and fix your issue faster.
## Build Environment

The only thing you need to build bnd is Java. We use Java 7 but most
projects only require Java 6. We use Gradle to build and The repo
includes `gradlew` but you can use your system `gradle` but we require
at least version 2.0.
projects only require Java 6. We use Gradle to build and the repo
includes `gradlew`. You can use your system `gradle` but we require
at least version 2.3.

`gradle` - Assembles, tests and releases the projects into dist/bundles
`gradle :dist:build` - Assembles and tests the projects
`gradle :dist:index` - Assembles and releases the projects into dist/bundles..
`./gradlew` - Assembles, tests and releases the projects into dist/bundles
`./gradlew :dist:build` - Assembles and tests the projects
`./gradlew :dist:index` - Assembles and releases the projects into dist/bundles..

We use [Travis CI](https://travis-ci.org/bndtools/bnd) and the repo includes a
`.travis.yml` file to build on Travis CI.
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,11 @@ available.
## Building
Gradle is used to build bnd. The workspace root has a `build.gradle` file that builds all projects in proper order.

`gradle` - Assembles, tests and releases the projects into dist/bundles
`gradle :dist:build` - Assembles and tests the projects
`gradle :dist:index` - Assembles and releases the projects into dist/bundles
`./gradlew` - Assembles, tests and releases the projects into `dist/bundles`
`./gradlew :dist:build` - Assembles and tests the projects
`./gradlew :dist:index` - Assembles and releases the projects into `dist/bundles`

The workspace root also includes the gradle wrapper, `gradlew`, command if you do not have gradle installed
on your system.
The workspace root includes the gradle wrapper, `gradlew`, command.

[![CloudBees Build Status](https://bndtools.ci.cloudbees.com/job/bnd.master/badge/icon)](https://bndtools.ci.cloudbees.com/job/bnd.master/)
[![Travis CI Build Status](https://travis-ci.org/bndtools/bnd.svg?branch=master)](https://travis-ci.org/bndtools/bnd)
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ buildscript {
configurations.classpath.resolutionStrategy.cacheChangingModulesFor 30, 'minutes'
dependencies {
components {
eachComponent { ComponentMetadataDetails details ->
all { ComponentMetadataDetails details ->
details.changing = true
}
}
Expand Down

0 comments on commit 72d9e5b

Please sign in to comment.