Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hibernate Changes #115

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ tasks.withType(GenerateModuleMetadata) {
enabled = false
}

def gJEXVersion = '1.41-SNAPSHOT'
def gJEXVersion = '1.41-SNAPSHOT-HIBERNATE'
def grpcVersion = '1.60.0'
def jacksonVersion = '2.16.1'
def guiceVersion = '5.1.0'
Expand Down
63 changes: 58 additions & 5 deletions contrib/hibernate/build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,73 @@
apply plugin: 'java'
plugins {
id 'java-library'
id 'maven-publish'
id "io.freefair.lombok" version "8.6"
}

repositories {
mavenLocal()
mavenCentral()
}

publishing {
publications {
mavenJava(MavenPublication) {
artifactId = 'hibernate'
from components.java
pom {
licenses {
license {
name = "The Apache License, Version 2.0"
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
}
}
}
repositories {
maven {
url "https://clojars.org/repo"
credentials {
username = rootProject.ext.clojarsusername
password = rootProject.ext.clojarspassword
}
}
}
}

dependencies {
compile "com.flipkart.grpc-jexpress:core:1.+"
compile "com.flipkart.grpc-jexpress:runtime:1.+"
compile "com.flipkart.grpc-jexpress:guice:1.+"

implementation project(':core')
implementation libraries.lombok
implementation libraries.dw_metrics
implementation libraries.dw_metrics_healthchecks
implementation libraries.guice
implementation libraries.guava
implementation libraries.hibernate_validator
implementation 'io.grpc:grpc-core:1.60.0'
implementation 'io.grpc:grpc-stub:1.60.0'
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.15.2'
implementation 'com.fasterxml.jackson.core:jackson-core:2.15.2'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.2'
implementation 'org.hibernate:hibernate-core:5.6.15.Final'
implementation 'javax.ws.rs:javax.ws.rs-api:2.1.1'
implementation 'javax.validation:validation-api:2.0.1.Final'
implementation 'org.apache.tomcat:tomcat-jdbc:9.0.80'
implementation 'mysql:mysql-connector-java:5.1.44'
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
implementation 'io.dropwizard.metrics5:metrics-core:5.0.0'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-hibernate5:2.15.2'
implementation 'org.glassfish.jersey.core:jersey-server:2.36'
implementation 'org.glassfish.jersey.containers:jersey-container-servlet-core:3.1.2'
implementation 'aopalliance:aopalliance:1.0'
implementation 'javax.inject:javax.inject:1'
}

task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
archiveClassifier = 'sources'
from sourceSets.main.allSource
}

artifacts {
archives sourcesJar
}
Loading