File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Fuel
2
2
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 )
4
5
[ ![ Build Status] ( https://travis-ci.org/kittinunf/fuel.svg?branch=master )] ( https://travis-ci.org/kittinunf/fuel )
5
6
[ ![ Codecov] ( https://codecov.io/github/kittinunf/fuel/coverage.svg?branch=master )] ( https://codecov.io/gh/kittinunf/fuel )
6
7
@@ -26,8 +27,8 @@ We offer maven and jitpack installations. Maven via bintray only has stable rele
26
27
27
28
### Maven
28
29
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
31
32
32
33
``` groovy
33
34
//core
@@ -40,7 +41,7 @@ You can [download](https://bintray.com/kittinunf/maven/Fuel-Android/_latestVersi
40
41
Make sure to include ` jcenter() ` or ` mavenCentral() ` in your repositories
41
42
``` groovy
42
43
repositories {
43
- jcenter()
44
+ jcenter() //or mavenCentral()
44
45
}
45
46
```
46
47
Original file line number Diff line number Diff line change 1
1
import com.android.build.gradle.BaseExtension
2
2
import com.dicedmelon.gradle.jacoco.android.JacocoAndroidUnitTestReportExtension
3
+ import com.jfrog.bintray.gradle.BintrayExtension.GpgConfig
3
4
import org.gradle.api.publish.maven.MavenPom
4
5
import org.jmailen.gradle.kotlinter.KotlinterExtension
5
6
import org.jmailen.gradle.kotlinter.support.ReporterType
@@ -184,13 +185,17 @@ subprojects {
184
185
setLicenses(Fuel .Package .licenseName)
185
186
with (version) {
186
187
name = Fuel .publishVersion
188
+ gpg(delegateClosureOf<GpgConfig > {
189
+ sign = true
190
+ passphrase = System .getenv(" GPG_PASSPHRASE" ) ? : " "
191
+ })
187
192
}
188
193
}
189
194
}
190
195
191
196
fun MavenPom.addDependencies () = withXml {
192
197
asNode().appendNode(" dependencies" ).let { depNode ->
193
- configurations.implementation.allDependencies.forEach {
198
+ configurations.implementation.get(). allDependencies.forEach {
194
199
depNode.appendNode(" dependency" ).apply {
195
200
appendNode(" groupId" , it.group)
196
201
appendNode(" artifactId" , it.name)
Original file line number Diff line number Diff line change 1
1
// Library version
2
2
object Fuel {
3
- const val publishVersion = " 2.2.3 "
3
+ const val publishVersion = " 2.3.0 "
4
4
const val groupId = " com.github.kittinunf.fuel"
5
5
6
6
const val compileSdkVersion = 29
You can’t perform that action at this time.
0 commit comments