1
0
Fork 0
mirror of https://github.com/ethauvin/kotlin-pluralizer.git synced 2025-04-24 16:27:12 -07:00
This commit is contained in:
Cesar Ferreira 2016-09-04 18:42:18 +01:00
parent f28387ed16
commit 922e6fc8bb
3 changed files with 49 additions and 11 deletions

View file

@ -1,5 +1,7 @@
<!-- ![Image](extras/logo.png) -->
# kotlin-pluralizer [![Build Status](https://travis-ci.org/cesarferreira/kotlin-pluralizer.svg?branch=master)](https://travis-ci.org/cesarferreira/kotlin-pluralizer)
# kotlin-pluralizer [![Build Status](https://travis-ci.org/cesarferreira/kotlin-pluralizer.svg?branch=master)](https://travis-ci.org/cesarferreira/kotlin-pluralizer) [![Release](https://jitpack.io/v/cesarferreira/kotlin-pluralizer.svg)](https://jitpack.io/#cesarferreira/kkotlin-pluralizer)
**kotlin extension** to **pluralize** and **singularize** strings!
@ -24,7 +26,15 @@
## Install
TODO
```groovy
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.jitpack:gradle-simple:1.0'
}
```
### Show some :heart:
[![GitHub followers](https://img.shields.io/github/followers/cesarferreira.svg?style=social&label=Follow)](https://github.com/cesarferreira/kotlin-pluralizer) [![Twitter Follow](https://img.shields.io/twitter/follow/cesarmcferreira.svg?style=social)](https://twitter.com/cesarmcferreira)

View file

@ -1,6 +1,6 @@
#Sun Sep 04 17:43:16 WEST 2016
#Sun Sep 04 18:06:35 WEST 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.0-all.zip

View file

@ -1,17 +1,19 @@
buildscript {
repositories {
jcenter()
mavenLocal()
mavenCentral()
}
dependencies {
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
}
}
plugins {
id 'com.jfrog.bintray' version '1.6'
}
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'kotlin-android'
apply plugin: 'maven-publish'
//apply plugin: 'maven-publish'
android {
compileSdkVersion 24
@ -36,6 +38,7 @@ android {
}
dependencies {
compile gradleApi()
compile 'com.android.support:appcompat-v7:24.2.0'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
@ -43,4 +46,29 @@ 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'