-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
36 lines (29 loc) · 1017 Bytes
/
build.gradle
File metadata and controls
36 lines (29 loc) · 1017 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
plugins {
id 'java-library'
id 'maven-publish'
id 'java-test-fixtures'
}
group = rootProject.project_group
version = rootProject.project_version
repositories {
mavenCentral()
}
dependencies {
testImplementation(testFixturesApi(platform('org.junit:junit-bom:6.0.2')))
testImplementation(testFixturesApi('org.junit.jupiter:junit-jupiter'))
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
runtimeOnly project(path: ':libwebp-natives', configuration: 'darwin-x64')
runtimeOnly project(path: ':libwebp-natives', configuration: 'darwin-aarch64')
runtimeOnly project(path: ':libwebp-natives', configuration: 'windows-x64')
runtimeOnly project(path: ':libwebp-natives', configuration: 'windows-x86')
runtimeOnly project(path: ':libwebp-natives', configuration: 'linux-x64')
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
withJavadocJar()
withSourcesJar()
}
test {
useJUnitPlatform()
}