-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
53 lines (43 loc) · 1.42 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
plugins {
id 'groovy'
id 'java-gradle-plugin'
// publishing
id "com.gradle.plugin-publish" version "1.2.1"
id "nu.studer.credentials" version "2.1"
}
ext {
//noinspection GrUnresolvedAccess
project.setProperty( 'gradle.publish.key', credentials.hibernatePluginPortalUsername )
//noinspection GrUnresolvedAccess
project.setProperty( 'gradle.publish.secret', credentials.hibernatePluginPortalPassword )
}
group = 'org.hibernate.build.gradle'
version = '2.0.1-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
api "jakarta.inject:jakarta.inject-api:2.0.0"
implementation gradleApi()
implementation localGroovy()
testImplementation gradleApi()
testImplementation "org.assertj:assertj-core:3.20.2"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.8.0"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.8.0"
}
gradlePlugin {
website = "https://github.com/sebersole/xjc-plugin-jakarta"
vcsUrl = "https://github.com/sebersole/xjc-plugin-jakarta"
plugins {
xjc {
id = "org.hibernate.build.xjc-jakarta"
implementationClass = "org.hibernate.build.gradle.xjc.jakarta.XjcPlugin"
displayName = "Gradle plugin for Jakarta XML binding"
description = "Integrates Jakarta XML binding into Gradle build"
tags.set( ["xjc", "xjb", "jakarta"] )
}
}
}
test {
useJUnitPlatform()
}