Skip to content

Commit

Permalink
#835 - maven dependency on the new module. added missing dependencies…
Browse files Browse the repository at this point in the history
… to the new module
  • Loading branch information
petmongrels committed Jan 16, 2025
1 parent 18e8981 commit a3d3b6b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
1 change: 1 addition & 0 deletions avni-server-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ dependencies {
implementation group: 'org.apache.tomcat', name: 'tomcat-jdbc'
implementation("org.springframework.boot:spring-boot-starter-web:${springBootVersion}")
implementation("org.springframework.boot:spring-boot-starter-cache:${springBootVersion}")
implementation project(path: ':avni-server-data')
testImplementation "org.springframework.boot:spring-boot-starter-test:${springBootVersion}"
implementation "org.springframework.boot:spring-boot-starter-data-rest:${springBootVersion}"
implementation("org.springframework.boot:spring-boot-starter-security:${springBootVersion}")
Expand Down
25 changes: 21 additions & 4 deletions avni-server-data/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,26 @@ buildscript {
ext {
springBootVersion = '3.3.5'
}
repositories { mavenCentral() }
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}

plugins {
id 'org.springframework.boot' version "${springBootVersion}"
id 'io.spring.dependency-management' version '1.1.6'
id 'java'
}

apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'idea'
apply plugin: 'io.spring.dependency-management'

group = 'org.openchs'
version = '0.0.1-SNAPSHOT'

repositories {
mavenCentral()
}

dependencies {
implementation "org.springframework.boot:spring-boot-starter-data-jpa:${springBootVersion}"
implementation "org.springframework.boot:spring-boot-starter-data-rest:${springBootVersion}"
Expand All @@ -25,6 +32,8 @@ dependencies {
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.15.4'
implementation 'com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.15.2'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-joda:2.15.4'
implementation 'commons-validator:commons-validator:1.4.1'
implementation "org.postgresql:postgresql"
implementation("org.hibernate:hibernate-java8:5.6.15.Final") {
exclude(group: 'org.hibernate', module: 'hibernate-core')
}
Expand All @@ -34,6 +43,14 @@ dependencies {
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation "org.mockito:mockito-core:3.12.4"
implementation("jakarta.validation:jakarta.validation-api:3.0.2")
}

dependencyManagement {
imports {
mavenBom("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
mavenBom 'com.amazonaws:aws-java-sdk-bom:1.11.600'
}
}

test {
Expand Down

0 comments on commit a3d3b6b

Please sign in to comment.