Skip to content

Commit

Permalink
⬆️ [Version] Update version 2.3.0 for Kotlin 1.4 (#768)
Browse files Browse the repository at this point in the history
  • Loading branch information
kittinunf committed Sep 23, 2020
1 parent 3ae3a37 commit e8993d4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
9 changes: 5 additions & 4 deletions README.md
@@ -1,6 +1,7 @@
# Fuel

[![bintray](https://api.bintray.com/packages/kittinunf/maven/Fuel-Android/images/download.svg)](https://bintray.com/kittinunf/maven/Fuel-Android/_latestVersion)
[![jcenter](https://api.bintray.com/packages/kittinunf/maven/Fuel-Android/images/download.svg)](https://bintray.com/kittinunf/maven/Fuel-Android/_latestVersion)
[![mavenCentral](https://maven-badges.herokuapp.com/maven-central/com.github.kittinunf.fuel/fuel/badge.svg)](https://search.maven.org/search?q=g:com.github.kittinunf.fuel)
[![Build Status](https://travis-ci.org/kittinunf/fuel.svg?branch=master)](https://travis-ci.org/kittinunf/fuel)
[![Codecov](https://codecov.io/github/kittinunf/fuel/coverage.svg?branch=master)](https://codecov.io/gh/kittinunf/fuel)

Expand All @@ -26,8 +27,8 @@ We offer maven and jitpack installations. Maven via bintray only has stable rele

### Maven
You can [download](https://bintray.com/kittinunf/maven/Fuel-Android/_latestVersion) and install `Fuel` with `Maven` and `Gradle`. The core package has the following dependencies:
* Kotlin - [![Kotlin](https://img.shields.io/badge/Kotlin-1.3.30-blue.svg)](https://kotlinlang.org)
* Result - 2.2.0
* Kotlin - [![Kotlin](https://img.shields.io/badge/Kotlin-1.4.10-blue.svg)](https://kotlinlang.org)
* [ Result ](https://github.com/kittinunf/result/) - 3.1.0

```groovy
//core
Expand All @@ -40,7 +41,7 @@ You can [download](https://bintray.com/kittinunf/maven/Fuel-Android/_latestVersi
Make sure to include `jcenter()` or `mavenCentral()` in your repositories
```groovy
repositories {
jcenter()
jcenter() //or mavenCentral()
}
```

Expand Down
7 changes: 6 additions & 1 deletion build.gradle.kts
@@ -1,5 +1,6 @@
import com.android.build.gradle.BaseExtension
import com.dicedmelon.gradle.jacoco.android.JacocoAndroidUnitTestReportExtension
import com.jfrog.bintray.gradle.BintrayExtension.GpgConfig
import org.gradle.api.publish.maven.MavenPom
import org.jmailen.gradle.kotlinter.KotlinterExtension
import org.jmailen.gradle.kotlinter.support.ReporterType
Expand Down Expand Up @@ -184,13 +185,17 @@ subprojects {
setLicenses(Fuel.Package.licenseName)
with(version) {
name = Fuel.publishVersion
gpg(delegateClosureOf<GpgConfig> {
sign = true
passphrase = System.getenv("GPG_PASSPHRASE") ?: ""
})
}
}
}

fun MavenPom.addDependencies() = withXml {
asNode().appendNode("dependencies").let { depNode ->
configurations.implementation.allDependencies.forEach {
configurations.implementation.get().allDependencies.forEach {
depNode.appendNode("dependency").apply {
appendNode("groupId", it.group)
appendNode("artifactId", it.name)
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Constants.kt
@@ -1,6 +1,6 @@
// Library version
object Fuel {
const val publishVersion = "2.2.3"
const val publishVersion = "2.3.0"
const val groupId = "com.github.kittinunf.fuel"

const val compileSdkVersion = 29
Expand Down

0 comments on commit e8993d4

Please sign in to comment.