-
Notifications
You must be signed in to change notification settings - Fork 116
Expand file tree
/
Copy pathbuild.gradle
More file actions
51 lines (43 loc) · 1.38 KB
/
build.gradle
File metadata and controls
51 lines (43 loc) · 1.38 KB
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
plugins {
id 'org.springframework.boot' version '4.0.3' apply false
id 'io.spring.dependency-management' version '1.1.7' apply false
}
description = 'JavaClaw'
allprojects {
group = 'ai.javaclaw'
version = System.getenv('CI_COMMIT_TAG')?.replace("v", "") ?: "v1.0.0-SNAPSHOT".replace("v", "")
repositories {
mavenCentral()
maven { url = 'https://repo.spring.io/snapshot' }
maven { url = 'https://repo.spring.io/milestone' }
maven {
name = 'central-portal-snapshots'
url = 'https://central.sonatype.com/repository/maven-snapshots/'
}
}
}
// Explicitly configure only real projects
configure(subprojects.findAll { it.buildFile.exists() }) {
apply plugin: 'io.spring.dependency-management'
ext {
springAiVersion = '2.0.0-SNAPSHOT'
springModulithVersion = '2.0.3'
}
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:4.0.3"
mavenBom "org.springframework.ai:spring-ai-bom:2.0.0-SNAPSHOT"
mavenBom "org.springframework.modulith:spring-modulith-bom:2.0.3"
}
}
plugins.withType(JavaPlugin) {
java {
toolchain {
languageVersion = JavaLanguageVersion.of(25)
}
}
tasks.named('test') {
useJUnitPlatform()
}
}
}