-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
49 lines (41 loc) · 928 Bytes
/
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
plugins {
id 'java'
id 'maven-publish'
id 'signing'
id 'net.researchgate.release' version '3.0.1'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
testImplementation(
"org.junit.jupiter:junit-jupiter:${junit5Version}",
"org.assertj:assertj-core:${assertJVersion}",
"org.mockito:mockito-core:${mockitoVersion}"
)
}
compileJava {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
options.encoding = "UTF-8"
}
test {
useJUnitPlatform()
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
groupId = "net.portswigger.burp.extensions"
artifactId = "montoya-api"
}
}
}
release {
tagTemplate = '$name-$version'
git {
requireBranch.set('main')
}
}
createReleaseTag.dependsOn publish