forked from StPaulAcademy/HOMAR-FTC-Library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
40 lines (34 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
apply plugin: 'com.android.library'
android {
compileSdkVersion 26
defaultConfig {
minSdkVersion 19
targetSdkVersion 26
versionCode 2
versionName "1.1"
//testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
flatDir {
dirs rootProject.file('libs')
}
}
dependencies {
implementation(name: 'RobotCore-release', ext: 'aar')
implementation(name: 'Hardware-release', ext: 'aar')
}
task HOMARJavadoc(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
destinationDir = file("doc/javadoc")
failOnError false
options.overview = "src/main/overview.html"
inputs.file options.overview //Add the overview file as an input so Javadoc is re-run if the overview file changes
}