-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (33 loc) · 1.05 KB
/
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
plugins {
id 'java'
}
repositories {
mavenLocal()
mavenCentral()
maven {
url = uri('https://repository.aspose.com/repo/')
}
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of("${JAVA_VERSION}")
}
}
dependencies {
implementation(group: 'com.aspose', name: 'aspose-html', version: "$aspose_html_for_java_lib_version", classifier: "jdk$JAVA_VERSION")
testImplementation(
"org.junit.jupiter:junit-jupiter-api:$junit_version",
"org.junit.jupiter:junit-jupiter-engine:$junit_version",
"org.junit.jupiter:junit-jupiter-params:$junit_version",
"org.junit.platform:junit-platform-runner:$junit_platform_version",
"org.junit.vintage:junit-vintage-engine:$junit_version",
)
}
test {
useJUnitPlatform()
maxParallelForks = Runtime.runtime.availableProcessors()
}
task StartAsposeHtmlApplication(type: JavaExec) {
classpath = sourceSets.test.runtimeClasspath
main = 'com.aspose.html.samples.start_application.AsposeHtmlApplication'
}