-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
69 lines (58 loc) · 1.81 KB
/
Copy pathbuild.gradle
File metadata and controls
69 lines (58 loc) · 1.81 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
plugins {
id 'java-gradle-plugin'
id 'maven-publish'
id "com.gradle.plugin-publish" version "0.12.0"
}
repositories {
jcenter()
}
version = '1.1.2'
group = 'org.jet'
publishing {
publications {
maven(MavenPublication) {
artifactId = project.name
version = project.version
from components.java
}
}
}
gradlePlugin {
plugins {
sqlWrapperPlugin {
id = 'org.jet.sql.codegen'
implementationClass = 'org.jet.sql.codegen.plugin.SqlWrapperPlugin'
}
}
}
// The configuration example below shows the minimum required properties
// configured to publish your plugin to the plugin portal
pluginBundle {
website = 'https://jetsasank.github.io/sql-wrapper-codegen/'
vcsUrl = 'https://github.com/jetsasank/sql-wrapper-codegen'
description = 'Plugin to generate type safe java wrapper classes for running JDBC Prepared Statement'
tags = ['java', 'jdbc' ,'type-safe', 'generate']
plugins {
sqlWrapperPlugin {
displayName = 'Java SQL Type safe wrapper generate plugin'
}
}
}
jar {
manifest {
attributes('Implementation-Title': project.name, 'Implementation-Version': project.version)
}
}
dependencies {
compile gradleApi()
compile 'postgresql:postgresql:9.1-901-1.jdbc4'
compile group: 'mysql', name: 'mysql-connector-java', version: '8.0.20'
compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-yaml', version: '2.10.1'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.10.1'
compile group: 'com.github.spullara.mustache.java', name: 'compiler', version: '0.8.9'
testImplementation 'org.testng:testng:6.14.3'
testCompile "org.mockito:mockito-core:1.+"
}
test {
useTestNG()
}