-
-
Notifications
You must be signed in to change notification settings - Fork 30
feat: publish to bintray #121
Conversation
|
|
||
| plugins { | ||
| `java-library` | ||
| `maven-publish` |
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.
@marandaneto I guess merging #70 will affect this bit
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.
not a problem
| publications { | ||
| register(project.name, MavenPublication::class) { | ||
| if (project.hasProperty("android")) { | ||
| artifact("$buildDir/outputs/aar/${project.name}-release.aar") |
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 the sentry-core module, we don't need android stuff in here
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.
Right, this is all very provisional. It will all move to the main gradle file
| id("com.android.application") | ||
| kotlin("android") | ||
| // id("io.sentry.android.gradle") how to add sentry gradle plugin | ||
| id(Config.PublishPlugins.bintrayPlugin) |
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 should go into the modules that would be published, not in the sample app.
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.
right, just playing around. Draft PR
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.
I'll add a description of the goal
|
Closed in favor of #129 |
While doing this I found we have to publish snapshot builds to artifactory instead.
The goal of this PR is to be able to publish packages via the main gradle file which will publish jar for sentry-core and arr for the Android libraries. It'll also ignore the sample project.