Skip to content

Instantly share code, notes, and snippets.

@koiuo
Created June 14, 2018 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koiuo/53cd50b47e3621eec09ae8c56299b4f5 to your computer and use it in GitHub Desktop.
Save koiuo/53cd50b47e3621eec09ae8c56299b4f5 to your computer and use it in GitHub Desktop.
Running locally build gradle plugin
// example is for pl.allegro.tech.build.axion-release
buildscript {
repositories {
mavenCentral()
}
dependencies{
classpath files(
'/path-to-plugin/axion-release-plugin/build/libs/axion-release-plugin-1.9.2-bugfix-249_git_subdirectory-SNAPSHOT.jar',
)
// dependencies of the plugin. Just past plugin dependencies and s/compile/classpath
classpath group: 'org.eclipse.jgit', name: 'org.eclipse.jgit', version: '4.11.0.201803080745-r'
classpath group: 'org.eclipse.jgit', name: 'org.eclipse.jgit.ui', version: '4.11.0.201803080745-r'
classpath group: 'com.jcraft', name: 'jsch', version: '0.1.54'
classpath group: 'com.github.zafarkhaja', name: 'java-semver', version: '0.9.0'
}
}
apply plugin: "pl.allegro.tech.build.axion-release"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment