-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
61 lines (51 loc) · 1.23 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
60
61
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.gradle.publish:plugin-publish-plugin:0.9.4"
}
}
apply plugin: 'groovy'
apply plugin: 'maven-publish'
apply plugin: 'com.gradle.plugin-publish'
group = 'com.neva.gradle.plugin'
version = '1.0.1'
defaultTasks = ['clean', 'install']
repositories {
jcenter()
mavenCentral()
}
dependencies {
compile gradleApi()
compile localGroovy()
compile 'org.apache.openjpa:openjpa:2.4.1'
}
jar {
sourceCompatibility = 1.6
targetCompatibility = 1.6
compileJava {
options.encoding = "UTF-8"
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
pluginBundle {
website = 'http://javarel.neva.zone/'
vcsUrl = 'https://github.com/neva-dev/gradle-openjpa-plugin'
description = 'Plugin for enhancing JPA entity classes at compile time to be ready for OpenJPA. Especially useful when combined with Javarel Framework'
tags = ['database', 'jpa', 'openjpa']
plugins {
openJpa {
id = 'neva.openjpa'
displayName = 'Gradle OpenJPA Plugin'
}
}
}