-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
55 lines (48 loc) · 1.7 KB
/
build.gradle
File metadata and controls
55 lines (48 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// First, apply the publishing plugin
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.gradle.publish:plugin-publish-plugin:0.9.10"
}
}
apply plugin: "com.gradle.plugin-publish"
// Apply other plugins here, e.g. java plugin for a plugin written in java or
// the groovy plugin for a plugin written in groovy
// If your plugin has any external java dependencies, Gradle will attempt to
// downloaded them from JCenter for anyone using the plugins DSL
// so you should probably use JCenter for dependency resolution in your own
// project.
repositories {
jcenter()
}
dependencies {
compile gradleApi()
compile localGroovy() //not needed for Java plugins
compile group: "com.fasterxml.jackson.core", name: "jackson-core", version: "2.9.4"
compile group: "com.fasterxml.jackson.core", name: "jackson-databind", version: "2.9.4"
compile group: "com.fasterxml.jackson.core", name: "jackson-annotations", version: "2.9.4"
testCompile group: "junit", name: "junit", version: "4.12"
// other dependencies that your plugin requires
}
// Unless overridden in the pluginBundle config DSL, the project version will
// be used as your plugin version when publishing
version = "0.0.6"
group = "net.karlmartens.docfx"
// The configuration example below shows the minimum required properties
// configured to publish your plugin to the plugin portal
pluginBundle {
website = 'https://github.com/3esi/docfx-plugin'
vcsUrl = 'https://github.com/3esi/docfx-plugin.git'
description = 'Docfx plugin'
tags = ['docfx', 'build']
plugins {
DotnetPlugin {
id = 'net.karlmartens.docfx'
displayName = 'DocFX build plugin'
}
}
}