Skip to content

Instantly share code, notes, and snippets.

@ronocod
Created February 4, 2016 10:44
Show Gist options
  • Save ronocod/d6b5da6fe5ed51bebc89 to your computer and use it in GitHub Desktop.
Save ronocod/d6b5da6fe5ed51bebc89 to your computer and use it in GitHub Desktop.
Ivy versioning in Gradle
/*
http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency.html
[1.0,2.0] matches all versions greater or equal to 1.0 and lower or equal to 2.0
[1.0,2.0[ matches all versions greater or equal to 1.0 and lower than 2.0
]1.0,2.0] matches all versions greater than 1.0 and lower or equal to 2.0
]1.0,2.0[ matches all versions greater than 1.0 and lower than 2.0
[1.0,) matches all versions greater or equal to 1.0
]1.0,) matches all versions greater than 1.0
(,2.0] matches all versions lower or equal to 2.0
(,2.0[ matches all versions lower than 2.0
*/
compile "com.android.support:support-v4:23.0.0"
compile 'com.google.android.gms:play-services:[3.1,)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment