-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
61 lines (53 loc) · 1.66 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
49
50
51
52
53
54
55
56
57
58
59
60
61
// Buildscript MUST be the first block in a build.gradle
// file
buildscript {
ext {
amgp_version = '2.0'
jfrog_version = '1.7.3'
kotlin_version = '1.2.0-beta-88'
// Release version of the artifact
release_version = '1.2.0.0'
}
repositories {
maven {
// URL is defined in gradle.properties
url kotlinBintray
}
mavenCentral()
jcenter()
}
dependencies {
//Kotlin Dependency
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
//Bintray Dependency
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:$jfrog_version"
classpath "com.github.dcendents:android-maven-gradle-plugin:$amgp_version"
//Shadow jar Dependency
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
//Publishing maven artifacts to Bintray Dependency
classpath 'com.netflix.nebula:nebula-publishing-plugin:5.1.1'
}
}
plugins {
// Linting plugin for gradle files
// Rules are located in gradle/lintRules.gradle
id 'nebula.lint' version '8.3.1'
}
apply plugin: 'kotlin-platform-common'
allprojects {
// Apply linting rules to all projects
apply from: "$project.rootDir/gradle/lintRules.gradle"
// Manage global repository dependencies
repositories {
maven {
url kotlinBintray
}
mavenCentral()
jcenter()
}
}
dependencies {
// Kotlin standard library is needed for the multi-platform files in the
// source directory of the project root
implementation "org.jetbrains.kotlin:kotlin-stdlib-common:$kotlin_version"
}