Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.dknaus:jmeter-gradle-plugin:1.0.5'
}
dependencies {
implementation("com.github.dknaus:jmeter-gradle-plugin:1.0.5")
}
<dependency>
<groupId>com.github.dknaus</groupId>
<artifactId>jmeter-gradle-plugin</artifactId>
<version>1.0.5</version>
</dependency>
libraryDependencies += "com.github.dknaus" % "jmeter-gradle-plugin" % "1.0.5"
:dependencies [[com.github.dknaus/jmeter-gradle-plugin "1.0.5"]]
##Gradle plugin to execute JMeter tests.
For usage see: http://jmeter.foragerr.net/
or wiki
##News 4/21/2016 Version 1.0.5 released
4/2/2016
12/12/2015
-q
added11/15/2015
11/11/2015
11/6/2015
With gradle (ver>2.1) the plugin can be used with this shorthand:
plugins {
id "net.foragerr.jmeter" version "1.0-2.13"
}
##Attribution This project started as a hard fork of kulya/jmeter-gradle-plugin. Besides defect fixes and feature enhancements, most of the original codebase has been re-written since.
If you are a user of the older plugin see here for easy migration to this version of the plugin. If you're a developer familiar with the older plugin, see here for notes about major changes.