-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
45 lines (36 loc) · 969 Bytes
/
Copy pathbuild.gradle
File metadata and controls
45 lines (36 loc) · 969 Bytes
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
plugins {
id 'java'
id 'org.springframework.boot' version '3.4.3'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'com.gitpilot'
version = '0.2.0'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
repositories {
mavenCentral()
maven { url = 'https://repo.spring.io/milestone' }
}
ext {
springAiVersion = '1.0.4'
jgitVersion = '7.0.0.202411191551-r'
}
dependencies {
// Spring AI MCP server — stdio transport, @Tool discovery
implementation "org.springframework.ai:spring-ai-mcp-server-spring-boot-starter"
// JGit — pure Java git operations
implementation "org.eclipse.jgit:org.eclipse.jgit:${jgitVersion}"
// Test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
dependencyManagement {
imports {
mavenBom "org.springframework.ai:spring-ai-bom:${springAiVersion}"
}
}
tasks.named('test') {
useJUnitPlatform()
}