-
Notifications
You must be signed in to change notification settings - Fork 3.6k
/
Copy pathhibernate-platform.gradle
75 lines (56 loc) · 2.06 KB
/
hibernate-platform.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
62
63
64
65
66
67
68
69
70
71
72
73
74
plugins {
id "java-platform"
id "local.module"
id "local.publishing"
}
description = 'Platform (BOM) for Hibernate ORM dependencies'
dependencies {
constraints {
api project( ":hibernate-core" )
api project( ":hibernate-testing" )
api project( ":hibernate-envers" )
api project( ":hibernate-spatial" )
api project( ":hibernate-community-dialects" )
api project( ":hibernate-scan-jandex" )
api project( ":hibernate-agroal" )
api project( ":hibernate-c3p0" )
api project( ":hibernate-hikaricp" )
api project( ":hibernate-jcache" )
api project( ":hibernate-micrometer" )
api project( ":hibernate-graalvm")
api project( ":hibernate-processor" )
api project( ":hibernate-gradle-plugin" )
api project( ":hibernate-maven-plugin" )
api project( ":hibernate-ant" )
api libs.hibernateModels
api jakartaLibs.jpa
api jakartaLibs.jta
runtime libs.antlrRuntime
runtime libs.logging
runtime libs.byteBuddy
runtime libs.byteBuddyAgent
runtime libs.jandex
runtime libs.classmate
runtime jakartaLibs.jaxb
runtime jakartaLibs.jaxbApi
runtime jakartaLibs.inject
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// todo : imo these are questionable
runtime libs.agroal
runtime libs.agroalPool
runtime libs.c3p0
runtime libs.hikaricp
runtime libs.jcache
runtime libs.micrometer
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
}
var publishingExtension = project.getExtensions().getByType(PublishingExtension) as PublishingExtension
publishingExtension.publications.named("publishedArtifacts", MavenPublication) {
from components.javaPlatform
}
tasks.register("releasePerform") {
group "release"
description "See :release:releasePerform for details. Here we hook in publishing to Sonatype"
dependsOn tasks.publishToSonatype
}