-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathbuild.gradle
75 lines (65 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
//http://www.jetbrains.org/intellij/sdk/docs/tutorials/build_system.html
buildscript {
ext.kotlin_version = '1.3.72'
repositories {
maven {
url 'http://maven.aliyun.com/nexus/content/repositories/releases/'
}
maven {
url 'http://mirrors.cloud.tencent.com/nexus/repository/maven-public'
}
maven {
url = 'https://plugins.gradle.org/m2/'
}
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id "org.jetbrains.intellij" version "0.6.3"
}
apply plugin: 'idea'
apply plugin: 'kotlin'
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'
repositories {
maven {
url 'http://maven.aliyun.com/nexus/content/repositories/releases/'
}
mavenLocal()
mavenCentral()
}
intellij {
intellij.updateSinceUntilBuild false
version '201.8743.12'
type 'IC'
plugins = ['com.intellij.java','android', 'java']
}
sourceSets {
main {
java {
srcDirs = ['src']
}
resources {
srcDirs = ['resources']
}
}
test {
java {
srcDirs = ['test']
}
}
}
dependencies {
compile fileTree(dir: 'lib', include: ['*.jar'])
testCompile 'junit:junit:4.12'
testCompile 'org.hamcrest:hamcrest-library:1.3'
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}
runIde {
// Absolute path to installed target 3.5 Android Studio to use as IDE Development Instance
// The "Contents" directory is macOS specific.
ideDirectory '/Applications/Android Studio.app/Contents'
}