-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
55 lines (45 loc) · 1.18 KB
/
build.gradle
File metadata and controls
55 lines (45 loc) · 1.18 KB
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.2.30'
repositories {
jcenter()
mavenLocal()
mavenCentral()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'net.zhuoweizhang:swiftandroid:1.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'net.zhuoweizhang.swiftandroid'
android {
compileSdkVersion 'android-25'
buildToolsVersion '25.0.3'
defaultConfig {
minSdkVersion 21
targetSdkVersion 21
}
buildTypes {
release {
proguardFile getDefaultProguardFile('proguard-android.txt')
}
}
}
dependencies {
compile 'com.android.support:appcompat-v7:25.4.0'
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
}
repositories {
maven {
url 'https://maven.google.com/'
name 'Google'
}
mavenCentral()
}