Closed kofsiwon closed 3 years ago
Please run the gradle build with --stacktrace
and share the output.
solved by
insert into app/bundle.gradle plugins { id 'com.android.application' id 'com.github.triplet.play' version '3.4.0' }
instead of [classpath 'com.github.triplet.gradle:play-publisher:3.5.0-SNAPSHOT']
Describe the bug
I can't publish apk because KotlinNothingValueException I used 3.4.0, but now there is no 3.4.0-SNAPSHOT.
./gradlew publishApk --artifact-dir $apkPath ...
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
What went wrong: Execution failed for task ':app:publishReleaseApk'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
2: Task failed with an exception.
How To Reproduce
React-Native
dependencies { classpath('com.android.tools.build:gradle:4.1.1') // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files classpath 'com.google.gms:google-services:4.3.3' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.3.0' classpath 'com.github.triplet.gradle:play-publisher:3.5.0-SNAPSHOT' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" }
./gradlew publishApk --artifact-dir $apkPath
Versions
+--- com.github.triplet.gradle:play-publisher:3.5.0-SNAPSHOT | +--- com.github.triplet.gradle:android-publisher:3.5.0-SNAPSHOT | | +--- com.github.triplet.gradle:common-utils:3.5.0-SNAPSHOT | +--- com.github.triplet.gradle:common-utils:3.5.0-SNAPSHOT | +--- com.github.triplet.gradle:common-validation:3.5.0-SNAPSHOT Gradle 6.5 +--- com.android.tools.build:gradle:4.1.3
Tasks executed
publishApk --artifact-dir
Expected behavior
success
Additional context (if a crash, provide stack trace)
Add any other context about the problem here. If this bug is a crash, run the task with
--stacktrace
to get the full context.