Skip to content

Commit

Permalink
Do not publish jar for android modules (#870)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitin-da authored Dec 18, 2017
1 parent ccc9760 commit 268b517
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions gradle/publish-android-lib.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,6 @@ configurations {
compileJavadoc
}

android.libraryVariants.all { variant ->
def name = variant.buildType.name
if (name.equals('debug')) {
return; // Skip debug builds.
}
def task = project.tasks.create "jar${name.capitalize()}", Jar
task.dependsOn variant.javaCompile
task.from variant.javaCompile.destinationDir
artifacts.add('archives', task);
}

apply plugin: 'maven'
apply plugin: 'signing'

Expand Down

0 comments on commit 268b517

Please sign in to comment.