Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
gradle config
Browse files Browse the repository at this point in the history
  • Loading branch information
NateRickard committed May 4, 2018
1 parent 8cb1789 commit e14b52f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Android/azuremobile.android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ android {
targetCompatibility 1.8
}


sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}

defaultConfig {
minSdkVersion 16
Expand Down Expand Up @@ -47,3 +49,13 @@ dependencies {

implementation 'com.azure.mobile:azuredata:0.1.0'
}

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "1.8"
}
}

tasks.withType(Javadoc) {
enabled = false
}
2 changes: 2 additions & 0 deletions Android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

buildscript {
ext.kotlin_version = '1.2.41'

repositories {
google()
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
Expand Down

0 comments on commit e14b52f

Please sign in to comment.