File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
2+ apply plugin : ' com.github.dcendents.android-maven'
23
34android {
45 compileSdkVersion 27
@@ -36,6 +37,8 @@ android {
3637 }
3738}
3839
40+ group = ' com.github.HazenRobotics'
41+
3942dependencies {
4043 // FTC libraries
4144 implementation " com.github.modular-ftc:robotcontroller-repackaged:$ftc_version . 0 -lite"
@@ -53,14 +56,15 @@ task sourcesJar(type: Jar) {
5356}
5457
5558task javadoc (type : Javadoc ) {
59+ failOnError false
5660 source = android. sourceSets. main. java. srcDirs
5761 classpath + = project. files(android. getBootClasspath(). join(File . pathSeparator))
62+ classpath + = configurations. compile
5863}
5964
6065task javadocJar (type : Jar , dependsOn : javadoc) {
6166 classifier = ' javadoc'
6267 from javadoc. destinationDir
63- options. encoding = ' UTF-8'
6468}
6569artifacts {
6670 archives javadocJar
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ buildscript {
99 }
1010 dependencies {
1111 classpath ' com.android.tools.build:gradle:3.1.3'
12+ classpath ' com.github.dcendents:android-maven-gradle-plugin:2.1'
1213
1314
1415 // NOTE: Do not place your application dependencies here; they belong
You can’t perform that action at this time.
0 commit comments