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 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
2829You 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
4041Make sure to include ` jcenter() ` or ` mavenCentral() ` in your repositories
4142``` groovy
4243repositories {
43- jcenter()
44+ jcenter() //or mavenCentral()
4445}
4546```
4647
Original file line number Diff line number Diff line change 11import com.android.build.gradle.BaseExtension
22import com.dicedmelon.gradle.jacoco.android.JacocoAndroidUnitTestReportExtension
3+ import com.jfrog.bintray.gradle.BintrayExtension.GpgConfig
34import org.gradle.api.publish.maven.MavenPom
45import org.jmailen.gradle.kotlinter.KotlinterExtension
56import 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)
Original file line number Diff line number Diff line change 11// Library version
22object 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
You can’t perform that action at this time.
0 commit comments