Giter Club home page Giter Club logo

Comments (5)

a2geek avatar a2geek commented on July 20, 2024

I was wondering about that! ;-)

I think that maybe the ShrinkItArchive project was setup better. Can you give that a whirl for a build (at some point). If it works, it can be back-ported here.

Otherwise, they both should be fixed.

These are my first Gradle projects, so not too surprised there are rough edges.

Thanks for checking!

from applecommander.

knghtbrd avatar knghtbrd commented on July 20, 2024

from applecommander.

knghtbrd avatar knghtbrd commented on July 20, 2024

Okay for this I started with the assumption that running ./gradlew with no target should fail because I'm not set up for signing and deployment. Indeed it does:

tjcarter@chiyo:~/Source/AppleCommander/ShrinkItArchive$ ./gradlew 
Downloading https://services.gradle.org/distributions/gradle-4.6-bin.zip
......................................................................
Unzipping /Users/tjcarter/.gradle/wrapper/dists/gradle-4.6-bin/4jp4stjndanmxuerzfseyb6wo/gradle-4.6-bin.zip to /Users/tjcarter/.gradle/wrapper/dists/gradle-4.6-bin/4jp4stjndanmxuerzfseyb6wo
Set executable permissions for: /Users/tjcarter/.gradle/wrapper/dists/gradle-4.6-bin/4jp4stjndanmxuerzfseyb6wo/gradle-4.6/bin/gradle
Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/tjcarter/Source/AppleCommander/ShrinkItArchive/build.gradle' line: 50

* What went wrong:
A problem occurred evaluating root project 'ShrinkItArchive'.
> Could not get unknown property 'ossrhUsername' for object of type org.gradle.api.publication.maven.internal.deployer.DefaultGroovyMavenDeployer.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 7s

However I get the same result when I run ./gradlew jar, which I'd expect to work. Ideally signing and deployment should be part of the default target. You should have to ask for that separately, and it should be okay for everything else if you can't do it.

Does cloning the repo in a separate directory cause it to emit the same error for you?

from applecommander.

a2geek avatar a2geek commented on July 20, 2024

After consulting with the all-powerful Google, and tinkering on my Mac (which is not setup to post to Maven Central), I think this might fix it. Committed to both the AppleCommander and ShrinkItArchive. Please validate on your side when you have a couple of spare minutes. Thanks!

from applecommander.

knghtbrd avatar knghtbrd commented on July 20, 2024

That's how that's done? Good to know, thanks. Issue resolved. :)

from applecommander.

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.