Code Monkey home page Code Monkey logo

Comments (4)

walmik avatar walmik commented on July 16, 2024

HI @naXa777 I m not well versed with Java but I tried doing this, I added timer.jquery as NPM and Bower WebJars yet couldnt find it when i searched for it after. Can you check if you are able to see if its added? Do I need to add something to the repo to make it visible on the WebJars site?

from timer.jquery.

naXa777 avatar naXa777 commented on July 16, 2024

@walmik Yes, I checked all the places where I can find the package.

I tried to add the package as Bower WebJAR too, but I can't find it on their website afterwards =(
I don't think you need to add anything to your repository for deployment. It may be that the package is accepted and scheduled for processing, and we just have to wait.

add-webjar

from timer.jquery.

naXa777 avatar naXa777 commented on July 16, 2024

Good news: I tried to include the library in my project and it's resolved successfully. So the library is actually deployed to Maven Central repository.
I don't know why it's not searchable via web tools.

Congratulations! =)


Example of Gradle build file:

dependencies {
    // Webjars Locator allows to use version agnostic URLs for Webjars
    implementation group: 'org.webjars', name: 'webjars-locator-core', version: '0.36'
    // https://jquerytimer.com/
    implementation group: 'org.webjars.bowergithub.walmik', name: 'timer.jquery', version: '0.9.0'
    // ...
}

Example of usage:

<script type="text/javascript" src="/webjars/timer.jquery/dist/timer.jquery.min.js"></script>

from timer.jquery.

walmik avatar walmik commented on July 16, 2024

Thank you @naXa777 for looking in to this and confirming :)

from timer.jquery.

Related Issues (20)

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.