Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/cibuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
java:
- '8'
- '11'
- '18'
runner:
- 'xvfb-run --auto-servernum {0}'
include:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- 'ubuntu-latest'
java:
- '8'
- '17'
- '18'
runner:
- 'xvfb-run --auto-servernum {0}'
name: Rebuild JDK${{ matrix.java }} ${{ matrix.os }}
Expand Down
17 changes: 9 additions & 8 deletions gradle-plugins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ A Bnd Workspace build uses the information specified in the Bnd Workspace's `cnf
The [`biz.aQute.bnd.gradle`][2] jar contains the Bnd Gradle Plugins.
These plugins requires at least Gradle 6.7 for Java 8 to Java 15,
at least Gradle 7.0 for Java 16,
and at least Gradle 7.3 for Java 17.
at least Gradle 7.3 for Java 17,
and at least Gradle 7.5 for Java 18.

This README represents the capabilities and features of the Bnd Gradle Plugins in the branch containing this README.
So for the `master` branch, this will be the [latest development SNAPSHOT build](#using-the-latest-development-snapshot-build-of-the-bnd-gradle-plugins).
Expand Down Expand Up @@ -138,7 +139,7 @@ The FileCollection object to use as the classpath for the Bnd builder.
The default value is _${project.sourceSets.main.compileClasspath}_.
You will only need to specify this property if you want to specify additional classpath elements or replace the classpath.

### properties
### properties

Properties that are available for evaluation of the Bnd instructions.
The default is the properties of the Gradle task and project objects.
Expand Down Expand Up @@ -382,7 +383,7 @@ This property must not be used for and is ignored in Bnd Workspace builds.
If `true` failure reports will include optional requirements.
The default is `true`.

### properties
### properties

Properties that are available for evaluation of the Bnd instructions.
The default is the properties of the Gradle task and project objects.
Expand Down Expand Up @@ -436,7 +437,7 @@ The collection of files to use for locating bundles during the bndrun export.
The default is _${project.sourceSets.main.runtimeClasspath}_ plus _${project.configurations.archives.artifacts.files}_.
This property must not be used for and is ignored in Bnd Workspace builds.

### properties
### properties

Properties that are available for evaluation of the Bnd instructions.
The default is the properties of the Gradle task and project objects.
Expand Down Expand Up @@ -496,9 +497,9 @@ The default is _${project.java.testResultsDir}/${task.name}_.
### javaLauncher

Specify the default java executable to be used for execution.
This java launcher is used if the bndrun does not specify the `java` property or specifies it with the default value `java`.
This java launcher is used if the bndrun does not specify the `java` property or specifies it with the default value `java`.

### properties
### properties

Properties that are available for evaluation of the Bnd instructions.
The default is the properties of the Gradle task and project objects.
Expand Down Expand Up @@ -609,9 +610,9 @@ This property must not be used for and is ignored in Bnd Workspace builds.
### javaLauncher

Specify the default java executable to be used for execution.
This java launcher is used if the bndrun does not specify the `java` property or specifies it with the default value `java`.
This java launcher is used if the bndrun does not specify the `java` property or specifies it with the default value `java`.

### properties
### properties

Properties that are available for evaluation of the Bnd instructions.
The default is the properties of the Gradle task and project objects.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ public class BndBuilderPlugin implements Plugin<Project> {
*/
public static final String PLUGINID = "biz.aQute.bnd.builder";

/**
* Default public constructor.
*/
public BndBuilderPlugin() {}

/**
* Apply the {@code biz.aQute.bnd.builder} plugin to the specified project.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ public class BndPlugin implements Plugin<Project> {
private ObjectFactory objects;
private aQute.bnd.build.Project bndProject;

/**
* Default public constructor.
*/
public BndPlugin() {}

/**
* Apply the {@code biz.aQute.bnd} plugin to the specified project.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ public class BndWorkspacePlugin implements Plugin<Object> {
private static final Pattern TASKNAME_SPLITTER = Pattern.compile(":");
private static final Set<String> SPECIAL_FOLDERS = Sets.of("buildSrc", "gradle");

/**
* Default public constructor.
*/
public BndWorkspacePlugin() {}

/**
* Apply the {@code biz.aQute.bnd.workspace} plugin.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class TestHelper {
}

private static String gradleVersion() {
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_18)) {
return "7.5"
}
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
return "7.3.2"
}
Expand Down
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
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
6 changes: 6 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.