Skip to content

Commit e8993d4

Browse files
authored
⬆️ [Version] Update version 2.3.0 for Kotlin 1.4 (#768)
1 parent 3ae3a37 commit e8993d4

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Fuel
22

3-
[![bintray](https://api.bintray.com/packages/kittinunf/maven/Fuel-Android/images/download.svg)](https://bintray.com/kittinunf/maven/Fuel-Android/_latestVersion)
3+
[![jcenter](https://api.bintray.com/packages/kittinunf/maven/Fuel-Android/images/download.svg)](https://bintray.com/kittinunf/maven/Fuel-Android/_latestVersion)
4+
[![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)
45
[![Build Status](https://travis-ci.org/kittinunf/fuel.svg?branch=master)](https://travis-ci.org/kittinunf/fuel)
56
[![Codecov](https://codecov.io/github/kittinunf/fuel/coverage.svg?branch=master)](https://codecov.io/gh/kittinunf/fuel)
67

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

2728
### Maven
2829
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:
29-
* Kotlin - [![Kotlin](https://img.shields.io/badge/Kotlin-1.3.30-blue.svg)](https://kotlinlang.org)
30-
* Result - 2.2.0
30+
* Kotlin - [![Kotlin](https://img.shields.io/badge/Kotlin-1.4.10-blue.svg)](https://kotlinlang.org)
31+
* [ Result ](https://github.com/kittinunf/result/) - 3.1.0
3132

3233
```groovy
3334
//core
@@ -40,7 +41,7 @@ You can [download](https://bintray.com/kittinunf/maven/Fuel-Android/_latestVersi
4041
Make sure to include `jcenter()` or `mavenCentral()` in your repositories
4142
```groovy
4243
repositories {
43-
jcenter()
44+
jcenter() //or mavenCentral()
4445
}
4546
```
4647

build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import com.android.build.gradle.BaseExtension
22
import com.dicedmelon.gradle.jacoco.android.JacocoAndroidUnitTestReportExtension
3+
import com.jfrog.bintray.gradle.BintrayExtension.GpgConfig
34
import org.gradle.api.publish.maven.MavenPom
45
import org.jmailen.gradle.kotlinter.KotlinterExtension
56
import org.jmailen.gradle.kotlinter.support.ReporterType
@@ -184,13 +185,17 @@ subprojects {
184185
setLicenses(Fuel.Package.licenseName)
185186
with(version) {
186187
name = Fuel.publishVersion
188+
gpg(delegateClosureOf<GpgConfig> {
189+
sign = true
190+
passphrase = System.getenv("GPG_PASSPHRASE") ?: ""
191+
})
187192
}
188193
}
189194
}
190195

191196
fun MavenPom.addDependencies() = withXml {
192197
asNode().appendNode("dependencies").let { depNode ->
193-
configurations.implementation.allDependencies.forEach {
198+
configurations.implementation.get().allDependencies.forEach {
194199
depNode.appendNode("dependency").apply {
195200
appendNode("groupId", it.group)
196201
appendNode("artifactId", it.name)

buildSrc/src/main/kotlin/Constants.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Library version
22
object Fuel {
3-
const val publishVersion = "2.2.3"
3+
const val publishVersion = "2.3.0"
44
const val groupId = "com.github.kittinunf.fuel"
55

66
const val compileSdkVersion = 29

0 commit comments

Comments
 (0)