Code Monkey home page Code Monkey logo

mary's Introduction

mary

This is a custom maven repository created for convenience and developing speed

  • Maven Central

Maven Central is, unfortunately, a pain to setup and Nexus is too slow, up to 20s for a simple platform and 10m for a proper project, with several projects and up to tens pushes a day, all these overheads eat too much precious developing time, which, in my case, is quite scarce.

  • Jitpack

On the other side, Jitpack is, unfortunately, broken by design:

  • they rewrite the POM, which sometimes it creates defective artifacts. This happens especially with variant-aware and platform-dependent projects, two big features quite hard to give up
  • if you have a multi-module build the produce a non-sense catch-all artifact and provide wrong instructions
  • you cannot easily use the coordinates you use for normal publishing
  • when first requesting a version, it first has to be built, this can need significant time and lead to timeouts, if you just re-request the resolution might suddenly work as the build finished, but build tools also tend to cache resolution results so might not immediately retry
  • when a build fails, you only get "dependency not found" and have to dig deep for the reason if you even consider looking for it
  • it partly uses Git revisions as versions which results in broken odering, so any sane conflict resolution that uses the newer version if two different version are found in the transitive dependencies cannot work properly as the ordering of versions is wrong
  • it cannot be indexed by IDEs or similar to provide a selection of what dependencies and versions are available
  • it cannot be properly indexed by things like mvnrepository.com

Ps: the last two should be also valid for this repository solution, though

Packages

Same for the releases/snapshots of the different projects, they are also published on this repository, just add to your build.gradle.kts

repositories {
    maven("https://raw.githubusercontent.com/kotlin-graphics/mary/master")
}

Maintenance status

All except ovr and bullet are actively maintained, some more some less.

mary's People

Contributors

elect86 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mary's Issues

Request for bumping uno-sdk and imgui versions

There is a significant change (3000+ commits) between the newest imgui version (1.89.7) and the current version (1.79) in this repository. Therefore, it would be beneficial to upgrade them.

glm:1.0.1 maven dependency cannot be resolved

Unfortunately this issue is so bad I needed to abandon using kotlin-graphics/glm altogether but I want to document it anyhow.
On an older commit where I once depended on kotlin-graphics/glm:1.0.1, I am getting the following errors with two separate gradle setups.

Gradle Configuration 1

build.gradle (project)

allprojects {
    repositories {
        google()
        mavenCentral()
        maven { url 'https://raw.githubusercontent.com/kotlin-graphics/mary/master' }
    }
}

build.gradle (Module: app)

dependencies {
    implementation 'com.github.kotlin-graphics:glm:1.0.1'
}

build error:

Could not find com.github.kotlin-graphics:glm:1.0.1.
Required by:
    project :app

Gradle Configuration 2

build.gradle (project)

allprojects { // used for dependencies in module gradles
    repositories {
        google()
        mavenCentral()
        maven { url 'https://jitpack.io' }
        maven { url 'https://raw.githubusercontent.com/kotlin-graphics/mary/master' }
    }
}

build.gradle (Module: app)

dependencies {
    implementation 'com.github.kotlin-graphics:glm:1.0.1'
}

build error:

Could not find com.github.kotlin-graphics:kotlin-unsigned:ace6d424858d39a8db13e47bd11721ed6477f00e.
Required by:
    project :app > com.github.kotlin-graphics:glm:1.0.1

So it seems that no matter my maven repository settings, gradle can either not find kotlin-graphics:glm:1.0.1 or, at best, it cannot find kotlin-graphics:kotlin-unsigned:ace6d424858d39a8db13e47bd11721ed6477f00e which is a dependency of kotlin-graphics:glm:1.0.1. Either way I am left with a project that doesn't build and no easy way out.

Hope it's an easy fix and best of luck! ๐Ÿ™

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.