We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db443b9 commit 77d590dCopy full SHA for 77d590d
magic/build.gradle
@@ -1,4 +1,5 @@
1
apply plugin: 'com.android.library'
2
+apply plugin: 'kotlin-android'
3
apply plugin: "maven-publish"
4
apply plugin: 'com.jfrog.bintray'
5
apply plugin: 'com.github.dcendents.android-maven'
@@ -23,6 +24,9 @@ android {
23
24
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
25
}
26
27
+ sourceSets {
28
+ main.java.srcDirs += 'src/main/kotlin'
29
+ }
30
31
32
install {
@@ -105,4 +109,8 @@ dependencies {
105
109
compile fileTree(dir: 'libs', include: ['*.jar'])
106
110
testCompile 'junit:junit:4.12'
107
111
compile 'com.android.support:appcompat-v7:23.1.1'
112
+ compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
113
+}
114
+repositories {
115
+ mavenCentral()
108
116
0 commit comments