-
Notifications
You must be signed in to change notification settings - Fork 502
Expand file tree
/
Copy pathbuild.gradle
More file actions
33 lines (28 loc) · 790 Bytes
/
build.gradle
File metadata and controls
33 lines (28 loc) · 790 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
apply plugin: 'java'
apply plugin: 'application'
java {
toolchain {
sourceCompatibility = JavaVersion.VERSION_21
}
}
application {
mainClass = 'org.dstadler.jgit.server.Main'
applicationDefaultJvmArgs = ['-Xmx512m', '-XX:+HeapDumpOnOutOfMemoryError']
}
version = '1.0'
jar {
manifest {
attributes 'Implementation-Title': 'A simple HTTP Git server based on the JGit GitServlet', 'Implementation-Version': archiveVersion
}
}
repositories {
mavenCentral()
maven {
url = "https://repo.eclipse.org/content/groups/releases/"
}
}
dependencies {
implementation 'org.eclipse.jgit:org.eclipse.jgit.http.server:7.4.0.202509020913-r'
implementation 'org.eclipse.jetty.ee10:jetty-ee10-servlet:12.0.30'
implementation 'org.slf4j:slf4j-simple:2.0.17'
}