Skip to content

Commit

Permalink
- 清理gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
limuyang committed May 18, 2020
1 parent d20dab2 commit e20211d
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
//apply plugin: 'kotlin-kapt'

android {
Expand Down Expand Up @@ -36,27 +35,9 @@ android {
// 打包源码jar
task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier = 'sources'
archiveClassifier = 'sources'
}

//task javadoc(type: Javadoc) {
// failOnError false
// source = android.sourceSets.main.java.sourceFiles
// classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
// classpath += configurations.compile
//}

// 打包文档jar
//task javadocJar(type: Jar, dependsOn: javadoc) {
// classifier = 'javadoc'
// from javadoc.destinationDir
//}

//artifacts {
// archives sourcesJar
// archives javadocJar
//}

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
Expand Down

0 comments on commit e20211d

Please sign in to comment.