-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
43 lines (36 loc) · 873 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
plugins {
id 'java-library'
id 'maven-publish'
}
version = '1.0.0-alpha.8'
group = 'com.github.giulioscattolin'
repositories {
mavenCentral()
}
dependencies {
testImplementation 'com.google.truth:truth:1.1.3'
testImplementation 'junit:junit:4.13.2'
}
publishing {
publications {
library(MavenPublication) {
from components.java
}
}
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
withJavadocJar()
}
javadoc {
source = sourceSets.main.allJava
classpath = configurations.compile
options {
source = '8'
links 'https://docs.oracle.com/javase/8/docs/api/'
}
}
task(analyzeGnssLoggerFile, dependsOn: 'classes', type: JavaExec) {
main = 'com.github.giulioscattolin.google.gnss.logger.demo.AnalyzeGnssLoggerFileDemo'
classpath = sourceSets.main.runtimeClasspath
}