BranchMetrics / sdk-release

TUNE iOS, Android, and Windows native SDKs
https://developers.tune.com/sdk/quick-starts/
GNU General Public License v3.0
56 stars 46 forks source link

Cant' build android sdk #31

Closed anoreg closed 7 years ago

anoreg commented 7 years ago

The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead. at android_release_aar_dulkhoq89m33wxqb89a5btma5.run(https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle:43) Incremental java compilation is an incubating feature. The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.

FAILURE: Build failed with an exception.

john-gu commented 7 years ago

Hi @anoreg, may I ask what's the gradle build command you're running?

anoreg commented 7 years ago

@john-gu ./gradlew makeJar creates /dist/TuneMarketingConsoleSDK-x.y.z.jar I'm using android stuido 2.3.1 compileSdkVersion 25 buildToolsVersion '25.0.2' gradle 2.14.1 android plugin version 2.2.3

john-gu commented 7 years ago

Hi @anoreg, can you try running just: ./gradlew makeJar

I think you may be copying and running the entire line from our README.

anoreg commented 7 years ago

@john-gu Great, the makeJar works