-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdependencies.gradle
34 lines (28 loc) · 1000 Bytes
/
dependencies.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
allprojects {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
ext {
// APP VERSION
androidLibraryArtifactId = 'ZoomableImageBox'
androidLibraryGroupId = 'com.github.lukelorusso'
androidNamespace = 'com.lukelorusso.zoomableimagebox'
androidVersionCode = 1
androidVersionName = '1.0.0' // REMEMBER: also update README.md
// ANDROID VERSION
androidMinSdkVersion = 21
androidTargetSdkVersion = 33
// COMMON VERSION
androidxActivityComposeVersion = '1.7.2'
androidxCoreVersion = '1.10.1'
ioCoilComposeVersion ='1.3.1'
// DEPENDENCY CHECK STRATEGY
isNonStable = { String version ->
def stableKeyword = ['RELEASE', 'FINAL', 'GA'].any { version.toUpperCase().contains(it) }
def regex = /^[0-9,.v-]+(-r)?$/
return !stableKeyword && !(version ==~ regex)
}
}