Adding debug and preRelease build types and removed commented lines

This commit is contained in:
Nelson R. Perez 2018-05-03 12:38:59 -05:00
parent e46282ea60
commit 1b189dc710

View file

@ -17,9 +17,11 @@ android {
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
} }
buildTypes { buildTypes {
debug{}
preRelease{}
release { release {
minifyEnabled false minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
} }
} }
} }
@ -37,23 +39,3 @@ dependencies {
implementation 'com.jakewharton.rxrelay2:rxrelay:2.0.0' implementation 'com.jakewharton.rxrelay2:rxrelay:2.0.0'
implementation 'com.squareup.okhttp3:okhttp:3.5.0' implementation 'com.squareup.okhttp3:okhttp:3.5.0'
} }
//task sourcesJar(type: Jar) {
// from android.sourceSets.main.java.srcDirs
// classifier = 'sources'
//}
//
//task javadoc(type: Javadoc) {
// source = android.sourceSets.main.java.srcDirs
// classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
//}
//
//task javadocJar(type: Jar, dependsOn: javadoc) {
// classifier = 'javadoc'
// from javadoc.destinationDir
//}
//
//artifacts {
// archives javadocJar
// archives sourcesJar
//}