2017-04-19 10:48:59 -07:00
|
|
|
apply plugin: 'com.jfrog.bintray'
|
2017-02-23 04:57:18 -08:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'com.github.dcendents.android-maven'
|
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
|
2017-05-09 03:39:23 -07:00
|
|
|
version = VERSION_NAME
|
|
|
|
group = GROUP
|
2017-02-23 04:57:18 -08:00
|
|
|
|
|
|
|
android {
|
2017-04-19 10:48:59 -07:00
|
|
|
compileSdkVersion rootProject.compileSdkVersion
|
|
|
|
buildToolsVersion rootProject.buildToolsVersion
|
2017-02-23 04:57:18 -08:00
|
|
|
|
|
|
|
defaultConfig {
|
2017-04-19 10:48:59 -07:00
|
|
|
minSdkVersion rootProject.minSdkVersion
|
|
|
|
targetSdkVersion rootProject.targetSdkVersion
|
2017-02-23 04:57:18 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
2017-04-19 10:48:59 -07:00
|
|
|
targetCompatibility rootProject.targetCompatibilityVersion
|
|
|
|
sourceCompatibility rootProject.sourceCompatibilityVersion
|
2017-02-23 04:57:18 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-04-19 10:48:59 -07:00
|
|
|
compile project(':yoga')
|
2017-02-23 04:57:18 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
task sourcesJar(type: Jar) {
|
|
|
|
classifier = 'source'
|
|
|
|
from android.sourceSets.main.java.srcDirs
|
|
|
|
}
|
|
|
|
|
|
|
|
task javadoc(type: Javadoc) {
|
|
|
|
failOnError false
|
|
|
|
source = android.sourceSets.main.java.sourceFiles
|
|
|
|
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
|
|
|
|
classpath += configurations.compile
|
|
|
|
}
|
|
|
|
|
|
|
|
task javadocJar(type: Jar, dependsOn: javadoc) {
|
|
|
|
classifier = 'javadoc'
|
|
|
|
from javadoc.destinationDir
|
|
|
|
}
|
|
|
|
|
2017-05-09 03:39:23 -07:00
|
|
|
apply from: rootProject.file('gradle/release.gradle')
|