// load the plugin
plugins {
id "com.zoltu.application-agent" version "1.0.8"
}
// note: this plugin depends on the `application` plugin so the following line is redundant; it is included here for clarity
apply plugin: 'application'
apply plugin: 'java'
// all of these are optional and default to true
applicationAgent {
applyToTests true
applyToRun true
applyToStartScripts true
}
// if necessary, add a repository where your agent can be found
repositories {
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
// add a dependency to the java agent that you want to use to the `agent` configuration
dependencies {
agent(group: 'co.paralleluniverse', name: 'quasar-core', version: '0.7.5-SNAPSHOT', classifier: 'jdk8', ext: 'jar')
}
// TODO: the rest of your build script
-
Notifications
You must be signed in to change notification settings - Fork 2
Repository Created From Template using RepoCreator
License
Zoltu/application-agent-gradle-plugin
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Repository Created From Template using RepoCreator
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published