package nu.studer.gradle.jooq;

/**
 * jOOQ comes in different editions, which are published
 * under different group ids. The artifact names and versions
 * are the same for all editions.
 */
public enum JooqEdition {

    OSS("org.jooq"),
    PRO("org.jooq.pro"),
    PRO_JAVA_6("org.jooq.pro-java-6"),
    TRIAL("org.jooq.trial");

    private final String groupId;

    JooqEdition(String groupId) {
        this.groupId = groupId;
    }

    public String getGroupId() {
        return groupId;
    }

}

@@ -255,24 +255,63 @@
 jooq.pro%22),%0A
+    PRO_JAVA_8(%22org.jooq.pro-java-8%22),%0A
     PRO_JAVA
@@ -364,16 +364,102 @@
 .trial%22)
+,%0A    TRIAL_JAVA_8(%22org.jooq.trial-java-8%22),%0A    TRIAL_JAVA_6(%22org.jooq.trial-java-6%22)
 ;%0A%0A    p

Add support for more recent jOOQ distributions