Created
November 11, 2018 20:31
-
-
Save fb64/5e80e4065bf49c81c229675c0e9fa274 to your computer and use it in GitHub Desktop.
gragle build configuration for creating new elastic plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
jcenter() | |
mavenCentral() | |
} | |
dependencies { | |
classpath "org.elasticsearch.gradle:build-tools:6.4.3" | |
} | |
} | |
apply plugin : 'idea' | |
apply plugin : 'elasticsearch.esplugin' | |
ext{ | |
project.licenseFile = project.rootProject.file("LICENSE.txt") | |
project.noticeFile = project.rootProject.file("NOTICE.txt") | |
} | |
esplugin { | |
name 'Test new Plugin' | |
description 'Test for new plugin creation' | |
classname 'test.elastic.plugin.MyPlugin' | |
licenseFile rootProject.file('file.txt') | |
noticeFile rootProject.file('file.txt') | |
extendedPlugins = ['x-pack-security'] | |
} | |
dependencies { | |
compileOnly "org.elasticsearch.plugin:x-pack-core:6.4.3" | |
testCompile group: 'junit', name: 'junit', version: '4.12' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment