Giter Site home page Giter Site logo

dependency issue about gradle-jasperreports HOT 5 CLOSED

logemann avatar logemann commented on July 22, 2024
dependency issue

from gradle-jasperreports.

Comments (5)

gmazelier avatar gmazelier commented on July 22, 2024 1

README update seems enough to close this issue.

from gradle-jasperreports.

gmazelier avatar gmazelier commented on July 22, 2024

Hi,

You're right, the doc seems incomplete. The required dependency is available in the Jasersoft Maven repo. Can you try with the following repo in your Gradle script:

maven {
  url 'http://jasperreports.sourceforge.net/maven2'
}

Maybe this one is required too but you should test without it first:

maven {
  url 'http://repository.jboss.org/maven2/'
}

Let me know.

from gradle-jasperreports.

gmazelier avatar gmazelier commented on July 22, 2024

README is now up to date. Have you made a try?

from gradle-jasperreports.

edgardleal avatar edgardleal commented on July 22, 2024

I hade the same problem because i was using the dependencies registration outside of the attribute buildscript.
Here is a simple functional using default values for configuration build.gradle as in the README.md:

buildscript {
  repositories {
    jcenter()
      maven {
        url 'http://jaspersoft.artifactoryonline.com/jaspersoft/third-party-ce-artifacts/'
      }
    maven {
      url 'http://jasperreports.sourceforge.net/maven2'
    }
    maven {
      url 'http://repository.jboss.org/maven2/'
    }
  }
  dependencies {
    classpath 'com.github.gmazelier:jasperreports-gradle-plugin:0.3.2'
  }
}

apply plugin: 'com.github.gmazelier.jasperreports'

from gradle-jasperreports.

mpscheidt avatar mpscheidt commented on July 22, 2024

To use the plugin via its id, I had to provide the dependencies like this:

buildscript {
    repositories {
        maven {
            url 'http://jaspersoft.artifactoryonline.com/jaspersoft/third-party-ce-artifacts/'
        }
}

plugins {
    id 'com.github.gmazelier.jasperreports' version '0.3.2'
}

from gradle-jasperreports.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.