class SentryPlugin extends java.lang.Object
| Type | Name and description |
|---|---|
static java.lang.String |
GROUP_NAME |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
apply(org.gradle.api.Project project) |
|
static java.io.File |
findAndroidManifestFileDir(org.gradle.api.Project project, com.android.build.gradle.api.BaseVariantOutput variantOutput) |
|
static org.gradle.api.Task |
findAssembleTask(com.android.build.gradle.api.ApplicationVariant variant)Returns the assemble task |
|
static org.gradle.api.Task |
getBundleTask(org.gradle.api.Project project, com.android.build.gradle.api.ApplicationVariant variant)Returns the pre bundle task for the given project and variant. |
|
static java.lang.String |
getDebugMetaPropPath(org.gradle.api.Project project, com.android.build.gradle.api.ApplicationVariant variant)Returns the path to the debug meta properties file for the given variant. |
|
static org.gradle.api.Task |
getDexTask(org.gradle.api.Project project, com.android.build.gradle.api.ApplicationVariant variant)Returns the dex task for the given project and variant. |
|
static org.gradle.api.Task |
getPackageTask(org.gradle.api.Project project, com.android.build.gradle.api.ApplicationVariant variant)Returns the package task |
|
static org.gradle.api.Task |
getPreBundleTask(org.gradle.api.Project project, com.android.build.gradle.api.ApplicationVariant variant)Returns the pre bundle task for the given project and variant. |
|
static groovy.lang.GString |
getPropsString(org.gradle.api.Project project, com.android.build.gradle.api.ApplicationVariant variant)Returns the GString with the current read'ed properties |
|
static java.lang.String |
getSentryCli(org.gradle.api.Project project)Return the correct sentry-cli executable path to use for the given project. |
|
static org.gradle.api.Task |
getTransformerTask(org.gradle.api.Project project, com.android.build.gradle.api.ApplicationVariant variant)Returns the transformer task for the given project and variant. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Returns the assemble task
project - the given projectvariant - the given variantReturns the pre bundle task for the given project and variant.
Returns the path to the debug meta properties file for the given variant.
Returns the dex task for the given project and variant.
Returns the package task
project - the given projectvariant - the given variantReturns the pre bundle task for the given project and variant.
Returns the GString with the current read'ed properties
project - the given projectvariant - the given variantReturn the correct sentry-cli executable path to use for the given project. This will look for a sentry-cli executable in a local node_modules in case it was put there by sentry-react-native or others before falling back to the global installation.
Returns the transformer task for the given project and variant. It could be either ProGuard or R8
project - the given projectvariant - the given variant