-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
49 lines (41 loc) · 1.37 KB
/
build.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version = "1.2.2"
ext.GITHUB_REPOSITORY_NAME = "bye-bye-jetifier"
apply plugin: "com.dipien.component.builder"
apply plugin: 'com.jdroidtools.root'
apply plugin: "com.dipien.release"
buildscript {
repositories {
def propertyResolver = new PropertyResolver(project)
mavenCentral()
if (propertyResolver.getRequiredBooleanProp("LOCAL_MAVEN_REPO_ENABLED", false)) {
maven { url = propertyResolver.getRequiredStringProp("LOCAL_MAVEN_REPO") }
}
maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" }
gradlePluginPortal()
}
dependencies {
classpath(BuildLibs.DIPIEN_COMPONENT_BUILDER)
classpath(BuildLibs.JDROID_GRADLE_ROOT_PLUGIN)
classpath(BuildLibs.RELEASE_GRADLE_PLUGIN)
}
}
def propertyResolver = new PropertyResolver(project)
allprojects {
buildscript {
repositories {
mavenCentral()
if (propertyResolver.getRequiredBooleanProp("LOCAL_MAVEN_REPO_ENABLED", false)) {
maven { url = propertyResolver.getRequiredStringProp("LOCAL_MAVEN_REPO") }
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
gradlePluginPortal()
}
}
repositories {
mavenCentral()
if (propertyResolver.getRequiredBooleanProp("LOCAL_MAVEN_REPO_ENABLED", false)) {
maven { url = propertyResolver.getRequiredStringProp("LOCAL_MAVEN_REPO") }
}
maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" }
}
}