question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build failed on Version 1.1.0

See original GitHub issue

Once I update the version to 1.1.0 it gave build failure but the plugin is working with version 1.0.0

> Task :generateSwagger FAILED
####################
Yelp Swagger Codegen
####################
Platform         kotlin
Package          com.yelp.codegen.integrations
specName         integration
specVers         1.0.0
input            /Users/chatura/swagger-gen/swagger-gradle-codegen-master/samples/sample_specs.json
output           /Users/chatura/swagger-gen/swagger-gradle-codegen-master/samples/groovy-android/src/main/java
groupId          com.yelp.codegen.integrations
artifactId       com.yelp.codegen.integrations
features         Accept-Language

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':generateSwagger'.
> com/yelp/codegen/utils/InlineModelResolver has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

These are my configurations

------------------------------------------------------------
Gradle 5.5
------------------------------------------------------------

Build time:   2019-06-28 17:36:05 UTC
Revision:     83820928f3ada1a3a1dbd9a6c0d47eb3f199378f

Kotlin:       1.3.31
Groovy:       2.5.4
Ant:          Apache Ant(TM) version 1.9.14 compiled on March 12 2019
JVM:          1.8.0_212 (AdoptOpenJDK 25.212-b04)
OS:           Mac OS X 10.13.6 x86_64

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
cortinicocommented, Jul 10, 2019

I can see empty header @Headers() when there no operationId . Can you remove the empty header ? or add "X-Operation-ID: eventsIdGet" using auto-generated operationId

@chathudan Can I ask you to open another issue and explain your scenario please?

1reaction
colinschoencommented, Jul 10, 2019

I think this is for @cortinico

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting error while running `react-native run-android`
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction > The minCompileSdk ( ...
Read more >
Navigation | Android Developers
For more information about dependencies, see Add Build Dependencies. ... fail when building your app with Kotlin versions before 1.5.0 .
Read more >
Dealing With Problems With Building the App & Detox
This page is about issues related to building the app, typically triggered when running detox build (and not detox test, for example).
Read more >
Unity build Error - ' SDK incompatible with the package ' How ...
It will be removed in version 5.0 of the Android Gradle plugin. ... FAILURE: Build failed with an exception. * What went wrong:...
Read more >
Build error on android with the latest 4.0.0 version
When building the last 4.0.0 release with "react-native": 0.70.5 we're getting this conflict about androidx.appcompat:appcompat:1.1.0.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found