-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
59 lines (47 loc) · 1.5 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
58
59
plugins {
id 'com.gradle.plugin-publish' version '0.9.7'
}
apply plugin: 'java-gradle-plugin'
apply plugin: 'maven'
group = 'com.github.honourednihilist'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
compileJava {
options.encoding = 'UTF-8'
}
compileTestJava {
options.encoding = 'UTF-8'
}
dependencies {
compileOnly(group: 'org.projectlombok', name: 'lombok', version: '1.16.20')
compile(group: 'ru.yandex.qatools.embed', name: 'postgresql-embedded', version: '2.8')
testCompile(group: 'junit', name: 'junit', version: '4.12')
}
gradlePlugin {
plugins {
gradlePostgresqlEmbedded {
id = 'com.github.honourednihilist.gradle-postgresql-embedded'
implementationClass = 'com.github.honourednihilist.gradle.postgresql.embedded.GradlePostgresqlEmbeddedPlugin'
}
}
}
repositories {
mavenLocal()
jcenter()
mavenCentral()
}
pluginBundle {
website = 'https://github.com/honourednihilist/gradle-postgresql-embedded'
vcsUrl = 'https://github.com/honourednihilist/gradle-postgresql-embedded'
plugins {
gradlePostgresqlEmbedded {
id = 'com.github.honourednihilist.gradle-postgresql-embedded'
displayName = 'gradle-postgresql-embedded'
description = ' Gradle plugin to run embedded PostgreSQL server '
tags = ['embedded database', 'postgresql', 'postgres']
}
}
}
gradle.buildFinished {
println("\nFinished: " + new Date())
}