-
Notifications
You must be signed in to change notification settings - Fork 30
/
build.gradle
37 lines (30 loc) · 1.02 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
apply plugin: "maven-publish"
apply plugin: "java-gradle-plugin"
apply plugin: "com.gradle.plugin-publish"
description = "A plugin for executing specified code generators"
dependencies {
implementation 'io.github.classgraph:classgraph:4.8.152'
api project(':code-generator-api')
testImplementation project(':test-common')
}
task copyTestGenerator(type: Copy, dependsOn: ':test-code-generator:jar'){
from tasks.getByPath(':test-code-generator:jar').outputs
into 'src/test/resources/'
eachFile {
name = "test-code-generator.jar"
}
}
processTestResources.dependsOn(copyTestGenerator)
gradlePlugin {
plugins {
codeGenerator {
id = "io.freefair.code-generator"
implementationClass = "io.freefair.gradle.plugin.codegenerator.CodeGeneratorPlugin"
displayName = "Code Generator Plugin"
description = "A plugin for executing specified code generators"
}
}
}
pluginBundle {
tags = ['code', 'generation', 'codegeneration', 'generate']
}