chore: apply suggestions from code review

Co-authored-by: Kudo Chien <[email protected]>
This commit is contained in:
Giau. Tran MinhandKudo Chien authored and GitHub committed 2022-01-28 01:42:23 +07:00
1 parent df98474d79
commit 0ccc22771d
1 file changed
-26
@@ -1,6 +1,5 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'maven'
group = 'host.exp.exponent'
version = '0.0.1'
@@ -20,31 +19,6 @@ buildscript {
}
}
// Upload android library to maven with javadoc and android sources
configurations {
deployerJars
}
// Creating sources with comments
task androidSourcesJar(type: Jar) {
classifier = 'sources'
from android.sourceSets.main.java.srcDirs
}
// Put the androidSources and javadoc to the artifacts
artifacts {
archives androidSourcesJar
}
uploadArchives {
repositories {
mavenDeployer {
configuration = configurations.deployerJars
repository(url: mavenLocal().url)
}
}
}
android {
compileSdkVersion safeExtGet("compileSdkVersion", 30)