Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gradle-jooq-plugin should not override jOOQ dependency if specified in dependencies #18

Closed
lukaseder opened this issue Aug 4, 2016 · 2 comments

Comments

@lukaseder
Copy link
Contributor

A jOOQ user is running into issues because a very old jOOQ version is being pulled by this Gradle plugin. The issue is documented here:
http://stackoverflow.com/q/38727927/521799

Essentially:

dependencies {
    ...
    // Expected jOOQ version
    compile "org.jooq:jooq:3.8.4"
    compile "org.jooq:jooq-meta:3.8.4"
    compile "org.jooq:jooq-codegen:3.8.4"
}

... 

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        // Overridden jOOQ version: 3.4.1
        classpath 'nu.studer:gradle-jooq-plugin:1.0.5'
        ...
    }
}
  • Is it possible for the gradle-jooq-plugin to detect if jOOQ is already a dependency, and then use that version rather than the default?
  • If not, does the gradle-jooq-plugin currently log the fact that it is using an old / hard-wired version?
@oehme
Copy link
Contributor

oehme commented Sep 1, 2016

Hey Lukas,

this is the same as #12, let's continue the discussion there.

Cheers,
Stefan

@lukaseder
Copy link
Contributor Author

OK, closing this as a duplicate of #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants