Details about advanced configuration options
You can fix an exact version for each dependency.
Example
1 2 3 | dependencies {
compile eta('array:1.2.3.0')
}
|
Notation | Description |
[a,b] | Matches all versions greater than or equal to a and less than or equal to b |
[a,b[ | Matches all versions greater than or equal to a and less than than b |
]a,b] | Matches all versions greater than a and less than or equal to b |
]a,b[ | Matches all versions greater than a and less than than b |
[a,) | Matches all versions greater than or equal to a |
]a,) | Matches all versions greater than a |
(,b] | Matches all versions less than or equal to b |
(,b[ | Matches all versions less than than b |
Example
1 2 3 | dependencies {
compile eta('array:[1.2.3.0,1.2.4.0[')
}
|
A version prefix a.b.c.d.+ corresponds to [a.b.c.d.0,a.b.c.(d + 1).0[.
Example
1 2 3 | dependencies {
compile eta('array:1.2.3.+')
}
|
1 2 3 4 5 | dependencies {
compile eta(package: 'eta-spark-core',
location: 'https://github.com/Jyothsnasrinivas/eta-spark-core',
commit: 'acbbe10b68f22f8f3f8ac21c82f12bb811a2fa7e')
}
|
1 2 3 4 5 | dependencies {
compile eta(package: 'eta-spark-core',
location: 'https://github.com/Jyothsnasrinivas/eta-spark-core',
tag: '0.1.1.0')
}
|
1 2 3 4 5 | dependencies {
compile eta(package: 'eta-spark-core',
location: 'https://github.com/Jyothsnasrinivas/eta-spark-core',
branch: 'master')
}
|