-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
69 lines (54 loc) · 2 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
plugins {
id 'java'
id 'war'
id 'org.springframework.boot' version '3.2.2'
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'edu.mcw.rgdai'
tasks.named('processResources') {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
java {
sourceCompatibility = '17'
}
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://mvnrepository.com/artifact/com.pgvector/pgvector' }
}
ext {
set('springAiVersion', "1.0.0-M4")
}
dependencies {
// Spring Boot Starters
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-security'
// JSP Support
implementation 'org.apache.tomcat.embed:tomcat-embed-jasper'
implementation 'jakarta.servlet.jsp.jstl:jakarta.servlet.jsp.jstl-api'
implementation 'org.glassfish.web:jakarta.servlet.jsp.jstl'
// Spring Security JSP Tags
implementation 'org.springframework.security:spring-security-taglibs'
// Spring AI - using BOM managed versions
implementation 'org.springframework.ai:spring-ai-openai-spring-boot-starter'
implementation 'org.springframework.ai:spring-ai-tika-document-reader'
// implementation 'org.springframework.ai:spring-ai-vertex-ai-embedding:1.0.0-M4'
implementation 'org.springframework.ai:spring-ai-core:1.0.0-M4'
//for postgres
implementation 'org.postgresql:postgresql'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation group: 'com.pgvector', name: 'pgvector', version: '0.1.3'
// Provided Dependencies
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
// Test Dependencies
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
dependencyManagement {
imports {
mavenBom "org.springframework.ai:spring-ai-bom:${springAiVersion}"
}
}
tasks.named('test') {
useJUnitPlatform()
}