-
Notifications
You must be signed in to change notification settings - Fork 534
Upgrade to Gradle 6.0.1, TestNG 7.0.0, use Bnd for OSGi properties #473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
5909952
Upgrade to Gradle 6.0.1, TestNG 7.0.0, use Bnd for OSGi properties
akarnokd e5e9d7c
Fix TCK build under JDK 9
akarnokd ade7b64
Fix triggerFlowRequest wrong TestNG injection attempt
akarnokd 17299e6
Remove wrong or unnecessary Import-Package restrictions
akarnokd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
description = 'reactive-streams-examples' | ||
dependencies { | ||
compile project(':reactive-streams') | ||
testCompile project(':reactive-streams-tck') | ||
implementation project(':reactive-streams') | ||
testImplementation project(':reactive-streams-tck') | ||
} | ||
|
||
jar { | ||
manifest { | ||
attributes('Automatic-Module-Name': 'org.reactivestreams.examples') | ||
} | ||
bnd ('Bundle-Name': 'reactive-streams-jvm', | ||
'Bundle-Vendor': 'Reactive Streams SIG', | ||
'Bundle-Description': 'Reactive Streams Examples', | ||
'Bundle-DocURL': 'http://reactive-streams.org', | ||
'Bundle-Version': project.version, | ||
'Import-Package': '!org.junit,!junit.framework,!org.mockito.*,!org.testng.*,*', | ||
'Export-Package': 'org.reactivestreams.example.*', | ||
'Automatic-Module-Name': 'org.reactivestreams.examples' | ||
) | ||
} | ||
|
||
test.useTestNG() |
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-6.0.1-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-bin.zip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
description = 'reactive-streams-tck-flow' | ||
dependencies { | ||
compile group: 'org.testng', name: 'testng', version:'5.14.10' | ||
compile project(':reactive-streams-tck') | ||
api group: 'org.testng', name: 'testng', version:'7.0.0' | ||
implementation project(':reactive-streams-tck') | ||
implementation project(':reactive-streams-examples') | ||
} | ||
|
||
jar { | ||
manifest { | ||
attributes('Automatic-Module-Name': 'org.reactivestreams.tckflow') | ||
} | ||
bnd ('Bundle-Name': 'reactive-streams-jvm', | ||
'Bundle-Vendor': 'Reactive Streams SIG', | ||
'Bundle-Description': 'Reactive Streams TCK Flow', | ||
'Bundle-DocURL': 'http://reactive-streams.org', | ||
'Bundle-Version': project.version, | ||
'Import-Package': '!org.junit,!junit.framework,!org.mockito.*,!org.testng.*,*', | ||
'Export-Package': 'org.reactivestreams.tck.flow.*', | ||
'Automatic-Module-Name': 'org.reactivestreams.tckflow' | ||
) | ||
} | ||
|
||
test.useTestNG() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
description = 'reactive-streams-tck' | ||
dependencies { | ||
compile group: 'org.testng', name: 'testng', version:'5.14.10' | ||
compile project(':reactive-streams') | ||
compile project(':reactive-streams-examples') | ||
api group: 'org.testng', name: 'testng', version:'7.0.0' | ||
api project(':reactive-streams') | ||
implementation project(':reactive-streams-examples') | ||
} | ||
|
||
jar { | ||
manifest { | ||
attributes('Automatic-Module-Name': 'org.reactivestreams.tck') | ||
} | ||
bnd ('Bundle-Name': 'reactive-streams-jvm', | ||
'Bundle-Vendor': 'Reactive Streams SIG', | ||
'Bundle-Description': 'Reactive Streams TCK', | ||
'Bundle-DocURL': 'http://reactive-streams.org', | ||
'Bundle-Version': project.version, | ||
'Import-Package': '!org.junit,!junit.framework,!org.mockito.*,!org.testng.*,*', | ||
'Export-Package': 'org.reactivestreams.tck.*', | ||
'Automatic-Module-Name': 'org.reactivestreams.tck' | ||
) | ||
} | ||
|
||
test.useTestNG() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these needed for all the jars?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It used to be an import bloat with OSGi due to it including test dependencies. I'll double check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, they are no longer necessary, plus the TestNG imports have to be named for the TCK bundle anyway.