1
0
mirror of https://github.com/etesync/android synced 2024-11-22 16:08:13 +00:00

Update gradle and add kotlin support

This commit is contained in:
Tom Hacohen 2018-01-19 20:37:04 +00:00
parent c9dca4c0bf
commit a685620a37
5 changed files with 15 additions and 4 deletions

View File

@ -7,6 +7,13 @@
*/ */
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
kapt {
generateStubs = true
}
android { android {
compileSdkVersion 27 compileSdkVersion 27
@ -133,6 +140,7 @@ dependencies {
compile 'io.requery:requery-android:1.5.0' compile 'io.requery:requery-android:1.5.0'
compile 'io.requery:requery-kotlin:1.5.0' compile 'io.requery:requery-kotlin:1.5.0'
annotationProcessor 'io.requery:requery-processor:1.5.0' annotationProcessor 'io.requery:requery-processor:1.5.0'
kapt 'io.requery:requery-processor:1.5.0'
compile group: 'com.madgag.spongycastle', name: 'core', version: '1.54.0.0' compile group: 'com.madgag.spongycastle', name: 'core', version: '1.54.0.0'
compile group: 'com.madgag.spongycastle', name: 'prov', version: '1.54.0.0' compile group: 'com.madgag.spongycastle', name: 'prov', version: '1.54.0.0'

View File

@ -8,12 +8,15 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { buildscript {
ext.kotlin_version = '1.2.20'
repositories { repositories {
jcenter() jcenter()
google() google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.0.0' classpath 'com.android.tools.build:gradle:3.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
} }
} }

@ -1 +1 @@
Subproject commit e8a95719e581749997614d614cb6bf36d43fd7b7 Subproject commit 90fcdc8532a277dfdf8f3f6451a21b3fa5b49e0b

@ -1 +1 @@
Subproject commit 92ff8d06148737bb35e5ace9a9538943f9bdc81f Subproject commit 532d4fcd02ba3a398dcdfdcd1118fb66880b25b8

@ -1 +1 @@
Subproject commit 42825421c620ec01256f4d3a00030aabe64efca8 Subproject commit d5f7d31887c68a47af3df491f5dca1f307144bf9