Skip to content

Instantly share code, notes, and snippets.

@naturalwarren
Last active May 4, 2018 19:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naturalwarren/4477b5177bb294e6682b82368df94c2f to your computer and use it in GitHub Desktop.
Save naturalwarren/4477b5177bb294e6682b82368df94c2f to your computer and use it in GitHub Desktop.
def versions = [ retrofit: ‘2.4.0', support: '27.1.1']
def retrofit = [
adapter: [ rxjava2: "com.squareup.retrofit2:adapter-rxjava2:${versions.retrofit}" ],
converter: [ moshi: "com.squareup.retrofit2:converter-moshi:${versions.retrofit}" ],
core: "com.squareup.retrofit2:retrofit:${versions.retrofit}"
]
def support = [
appcompat: "com.android.support:appcompat-v7:${versions.support}",
design: "com.android.support:design:${versions.support}"
]
ext.deps = [ 'retrofit': retrofit, 'support': support ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment