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.

NPE: Must provide a scope supplier

See original GitHub issue

Hello and thanks for reckon. Been using it for a while and it really really helps managing versions.

On some project, I’m trying to upgrade kotlin JVM plugin from 1.3.72 to 1.4.10 and get the following error:

* What went wrong:
Failed to apply plugin [id 'org.jetbrains.kotlin.jvm']
> Must provide a scope supplier.

I probably did something wrong, but everything was working completely fine with 1.3.72, any idea?

Thanks a lot.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:19 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
renato-zannoncommented, Nov 7, 2020

@aesteve I had the same issue in a multi-project build. For me, the issue was that the subprojects block was located (on gradle.build), before the reckon {} block, and apparently the kotlin plugin now needs access to project.version, before reckon is ready to provide it. This seem to match the situation on this test

I was able to fix it just by moving the reckon configuration block right below the plugins {} block, before subprojects

2reactions
grolljakcommented, Oct 30, 2020

Hey @aesteve I solved the problem by reordering the plugins:

    kotlin("jvm") version "1.4.10"
    kotlin("plugin.jpa") version "1.4.10"
    kotlin("plugin.spring") version "1.4.10"
    kotlin("kapt") version "1.4.10"
    id("org.ajoberstar.reckon") version "0.13.0"

More specifically I put the reckon plugin after kotlin plugins.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Are DMEPOS Suppliers required to deliver to the beneficiary?
Yes. Supplier standard 12 states a 'supplier is responsible for delivery and must instruct beneficiaries on use of Medicare covered items ...
Read more >
When is a supplier required to send in a change of information?
Answer: Supplier standard 2 requires suppliers to notify the NPE West of any change to the information provided on the CMS 855S or...
Read more >
How to use provided scope for jar file in Gradle build?
Compile only dependencies should be assigned to the relevant source set's 'compileOnly' configuration. dependencies { compileOnly 'javax.servlet ...
Read more >
1926.1101 - Asbestos
Signs shall be provided and displayed pursuant to the requirements of paragraph ... Each employer who has a workplace or work operation where...
Read more >
Model NPE-F Frame-Mounted Unit - Xylem Inc.
I. SCOPE. The contractor shall provide. (quantity) horizontal frame-mounted, end suction centrifugal pump unit/s, Model NPE-F as manufactured by Goulds ...
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