-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
57 lines (45 loc) · 1.26 KB
/
build.gradle
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
55
56
57
plugins {
id 'java-gradle-plugin'
id 'maven-publish'
alias(libs.plugins.gradle.publish)
alias(libs.plugins.nebula.release)
alias(libs.plugins.nebula.lint)
alias(libs.plugins.changelog)
}
repositories {
mavenCentral()
}
gradleLint {
rules = ['all-dependency']
}
pluginBundle {
website = 'https://github.com/shamus13/gradle-jinja2-plugin'
vcsUrl = 'https://github.com/shamus13/gradle-jinja2-plugin'
description = 'Gradle plugin for generating files based on Jinja2 templates. The plugin uses jinjava as template engine.'
pluginTags = [
jinja2: ['jinja2'],
]
}
gradlePlugin {
plugins {
jinja2 {
id = 'dk.grixie.jinja2.gradle-jinja2-plugin'
implementationClass = 'dk.grixie.jinja2.gradle.plugin.Jinja2Plugin'
displayName = 'Jinja2 plugin'
}
}
}
compileJava {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
dependencies {
implementation(libs.jinja2) {
exclude group: 'com.google.guava', module: 'guava'
}
implementation(libs.guava)
testImplementation(libs.junit)
testImplementation(libs.bundles.mockito)
testImplementation(libs.assertj)
}
tasks.publish.dependsOn(publishPlugins)