diff --git a/ClientLibrary/lib/build.gradle b/ClientLibrary/lib/build.gradle index f85c9e2..c7ceb34 100644 --- a/ClientLibrary/lib/build.gradle +++ b/ClientLibrary/lib/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' android { compileSdkVersion 22 - buildToolsVersion '26.0.2' + buildToolsVersion '27.0.3' defaultConfig { minSdkVersion 22 @@ -11,7 +11,7 @@ android { } dependencies { - compile 'com.google.code.gson:gson:2.8.2' + implementation 'com.google.code.gson:gson:2.8.2' } apply plugin: 'maven' diff --git a/README.md b/README.md index 5d27bf0..5bb024c 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ dependencies { // Use the following line to include client library from Maven Central Repository // Change the version number with the latest version according to the search.maven.org result // - compile 'com.microsoft.projectoxford:face:1.4.1' + implementation 'com.microsoft.projectoxford:face:1.4.2' // Your other Dependencies... } diff --git a/Sample/app/build.gradle b/Sample/app/build.gradle index fe6cf66..d8c8bee 100644 --- a/Sample/app/build.gradle +++ b/Sample/app/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.application' android { compileSdkVersion 22 - buildToolsVersion '26.0.2' + buildToolsVersion '27.0.3' defaultConfig { applicationId "com.microsoft.projectoxford.faceapisample" @@ -20,10 +20,13 @@ android { } dependencies { - compile fileTree(include: ['*.jar'], dir: 'libs') + implementation fileTree(include: ['*.jar'], dir: 'libs') + + // Include local lib mostly for debug purpose. + // implementation project(':lib') // Use the following line to include client library for Face API from Maven Central Repository - compile 'com.microsoft.projectoxford:face:1.4.1' - compile 'com.android.support:appcompat-v7:22.1.0' - compile 'com.google.code.gson:gson:2.8.2' + implementation 'com.microsoft.projectoxford:face:1.4.2' + implementation 'com.android.support:appcompat-v7:22.1.0' + implementation 'com.google.code.gson:gson:2.8.2' } diff --git a/Sample/build.gradle b/Sample/build.gradle index dcba93d..56d0fa5 100644 --- a/Sample/build.gradle +++ b/Sample/build.gradle @@ -6,7 +6,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:3.0.1' + classpath 'com.android.tools.build:gradle:3.1.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/Sample/gradle/wrapper/gradle-wrapper.properties b/Sample/gradle/wrapper/gradle-wrapper.properties index 253cc5b..b91af3f 100644 --- a/Sample/gradle/wrapper/gradle-wrapper.properties +++ b/Sample/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Wed Feb 28 18:48:53 CST 2018 +#Wed Apr 11 16:47:25 CST 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip diff --git a/Sample/settings.gradle b/Sample/settings.gradle index e7b4def..fd66267 100644 --- a/Sample/settings.gradle +++ b/Sample/settings.gradle @@ -1 +1,3 @@ include ':app' +include 'lib' +project(':lib').projectDir = file('../ClientLibrary/lib') \ No newline at end of file