hibernate-orm/hibernate-platform/hibernate-platform.gradle

84 lines
2.2 KiB
Groovy
Raw Normal View History

plugins {
id 'java-platform'
}
description = 'Gradle platform for Hibernate ORM'
apply from: rootProject.file( 'gradle/releasable.gradle' )
apply from: rootProject.file( "gradle/base-information.gradle" )
apply from: rootProject.file( "gradle/publishing-pom.gradle" )
2023-05-17 17:14:57 -04:00
apply plugin: 'signing'
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-agroal" )
api project( ":hibernate-c3p0" )
api project( ":hibernate-hikaricp" )
api project( ":hibernate-proxool" )
api project( ":hibernate-vibur" )
api project( ":hibernate-jcache" )
api project( ":hibernate-micrometer" )
api project( ":hibernate-graalvm")
api project( ":hibernate-processor" )
api project( ":hibernate-gradle-plugin" )
api project( ":hibernate-enhance-maven-plugin" )
api project( ":hibernate-ant" )
2024-04-03 23:18:20 -04:00
api libs.hibernateModels
api jakartaLibs.jpa
api jakartaLibs.jta
runtime libs.antlr
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.proxool
runtime libs.vibur
runtime libs.jcache
runtime libs.micrometer
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
}
publishing {
publications {
publishedArtifacts {
from components.javaPlatform
}
}
2023-05-17 17:14:57 -04:00
}
project( ":release" ).getTasks().named( "publishReleaseArtifacts" ).configure {
dependsOn tasks.release
}
tasks.release.dependsOn tasks.publishToSonatype