anchor.diff:      }
   ----
   
  -### TeamCity Agent Plugin
  +=== TeamCity Agent Plugin
   
   The plugin when applied with the Java Plugin, adds the JetBrains Maven repository and adds the TeamCity agent-api and
   tests-supprt dependencies to the compile and testCompile configurations. If the Java Plugin is not applied the plugin
   provides only the tasks to package the agent side plugin archive if a plugin descriptor is defined.
   
  -### TeamCity Agent Plugin Configuration
  +=== TeamCity Agent Plugin Configuration
   
   The following properties can be defined in the `agent` configuration block.
   
  
positive.code:     }
  ----
  
  ### Publishing a plugin
  
  The `publishPlugin` task is used to upload the plugin archive to the
  {uri-jetbrains-plugin-portal}[JetBrains TeamCity Plugin Repository]. Before publishing a plugin you will need
  
negative.code: The plugin descriptor properties are shown in the examples below and described in the TeamCity documentation for
  {uri-agent-descriptor}[Agent-Side Plugin Descriptor]
  
  === TeamCity Agent Plugin Tasks
  
  * `agentPlugin` : Builds and packages the agent side of a TeamCity plugin. The artifacts defined on the 'agent'
   configuration are added to the lib directory of the agent plugin archive.
  