Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
stempler committed Oct 20, 2023
1 parent ca076a3 commit 30b5612
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The simplest way to apply the plugin to your Gradle build is using the latest re
```groovy
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'org.standardout:bnd-platform:1.7.0'
Expand All @@ -41,7 +41,23 @@ apply plugin: 'org.standardout.bnd-platform'

Alternatives are including the repository content in the **buildSrc** folder as done in the [sample project](https://github.com/stempler/bnd-platform-sample) or by installing the plugin to your local Maven repository using `gradlew install` and adding it as dependency to your build script via `mavenLocal()` repository.

*bnd-platform* has been tested with Gradle 1.11 and Gradle 2.0. In Gradle 2.0 I observed resolving dependencies may take very long compared to previous versions (more than 20 min for a build that previously took roughly 3 min). Let's hope this will be fixed in future Gradle versions - for now I recommend using an earlier version of Gradle.
Snapshot versions are available in the related sonatype repository:

```groovy
buildscript {
repositories {
maven {

This comment has been minimized.

Copy link
@jochenberger

jochenberger Oct 27, 2023

For me, this is not enough, since bndlib and others are not contained in the sonatype repo. I still need mavenCentral() as well here.

This comment has been minimized.

Copy link
@stempler

stempler Oct 27, 2023

Author Owner
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
dependencies {
classpath 'org.standardout:bnd-platform:2.0.0-SNAPSHOT'
}
}
apply plugin: 'org.standardout.bnd-platform'
```


### Tasks

Expand Down

0 comments on commit 30b5612

Please sign in to comment.