-
-
Notifications
You must be signed in to change notification settings - Fork 475
Replace publishing to Bintray with Maven Central #1345
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 all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
a49b0c7
Drop Novoda Bintray plugin.
maciejwalkowiak 98f3fb5
Extract to publishing.gradle.kts
maciejwalkowiak 54c3c9d
Fix publications for Android
maciejwalkowiak 0f59697
Signing
maciejwalkowiak a460208
Update release script to upload to staging Sonatype repository.
maciejwalkowiak 4d5603a
Polish.
maciejwalkowiak 48c3807
Fix packaging for Android.
maciejwalkowiak e8c097e
Skip signing.
maciejwalkowiak 0d016ac
Generate sources and javadocs jars, signing depending on Gradle prope…
maciejwalkowiak 798b500
Replace custom solution with a 3rd party plugin
maciejwalkowiak 55a0410
polish
maciejwalkowiak 8823c6d
Merge branch 'main' into gh-1227
marandaneto b6e1255
draft
marandaneto 5dd691b
add comments for publishing
marandaneto 095ac67
bump dokka
marandaneto 3e534c2
downgrade kotlin to v1.3
marandaneto ed5c61f
fix
marandaneto 3c3f1bf
fix conflict
marandaneto 8a57f4c
fix language version
marandaneto 1e3b6e1
fix
marandaneto 5f18a98
Merge branch 'main' into gh-1227
marandaneto 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
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
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 |
|---|---|---|
|
|
@@ -26,6 +26,7 @@ public SentrySpanAdvice(final @NotNull IHub hub) { | |
| this.hub = Objects.requireNonNull(hub, "hub is required"); | ||
| } | ||
|
|
||
| @SuppressWarnings("deprecation") | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Accidentally added?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no, See https://github.com/getsentry/sentry-java/pull/1320/files#r597775167 (and other comments maybe too for context) |
||
| @Override | ||
| public Object invoke(final @NotNull MethodInvocation invocation) throws Throwable { | ||
| final ISpan activeSpan = hub.getSpan(); | ||
|
|
@@ -62,6 +63,7 @@ public Object invoke(final @NotNull MethodInvocation invocation) throws Throwabl | |
| } | ||
| } | ||
|
|
||
| @SuppressWarnings("deprecation") | ||
| private String resolveSpanOperation( | ||
| Class<?> targetClass, Method method, @Nullable SentrySpan sentrySpan) { | ||
| return sentrySpan == null || StringUtils.isEmpty(sentrySpan.value()) | ||
|
|
||
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
Oops, something went wrong.
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.
remembering is hard, can we check for that before running this task? Or not really a big deal if we add a non SNAPSHOT version to local maven?
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.
this is already part of our release manual and ideally should be automatized by Craft which is not the focus of this PR