mirror of
https://github.com/ethauvin/kotlin-pluralizer.git
synced 2025-04-25 08:47:12 -07:00
I see the problem now!
This commit is contained in:
parent
a6e69db40a
commit
629c7ef4dd
2 changed files with 32 additions and 74 deletions
|
@ -9,11 +9,8 @@ buildscript {
|
|||
}
|
||||
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'com.github.dcendents.android-maven'
|
||||
apply plugin: 'kotlin-android'
|
||||
//apply plugin: 'maven-publish'
|
||||
|
||||
|
||||
apply plugin: 'com.github.dcendents.android-maven'
|
||||
|
||||
android {
|
||||
compileSdkVersion 24
|
||||
|
@ -46,29 +43,4 @@ repositories {
|
|||
mavenCentral()
|
||||
}
|
||||
|
||||
|
||||
// build a jar with source files
|
||||
task sourcesJar(type: Jar) {
|
||||
from android.sourceSets.main.java.srcDirs
|
||||
classifier = 'sources'
|
||||
}
|
||||
|
||||
task javadoc(type: Javadoc) {
|
||||
failOnError false
|
||||
source = android.sourceSets.main.java.sourceFiles
|
||||
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
|
||||
classpath += configurations.compile
|
||||
}
|
||||
|
||||
// build a jar with javadoc
|
||||
task javadocJar(type: Jar, dependsOn: javadoc) {
|
||||
classifier = 'javadoc'
|
||||
from javadoc.destinationDir
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives sourcesJar
|
||||
archives javadocJar
|
||||
}
|
||||
|
||||
//apply from: 'publish.gradle'
|
||||
apply from: 'publish.gradle'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue