Giter Site home page Giter Site logo

prometheus-kt's People

Contributors

anti-social avatar samabbey-sonocent avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

prometheus-kt's Issues

Error resolving dependencies, no matching variant

Trying to use Gradle 7.1.1 with Kotlin 1.5.21, prometheus-kt 0.1.0. I get the following error on ./gradlew build:

> Task :app:compileKotlin FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileKotlin'.
> Error while evaluating property 'filteredArgumentsMap' of task ':app:compileKotlin'
   > Could not resolve all files for configuration ':app:compileClasspath'.
      > Could not resolve com.github.anti-social.prometheus-kt:prometheus-kt-js:v0.1.0.
        Required by:
            project :app > com.github.anti-social:prometheus-kt:v0.1.0
         > No matching variant of com.github.anti-social.prometheus-kt:prometheus-kt-js:v0.1.0 was found. The consumer was configured to find an API of a library compatible with Java 13, preferably in the form of class files, preferably optimized for standard JVMs, and its dependencies declared externally, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' but:
             - Variant 'jsApiElements-published' capability com.github.anti-social.prometheus-kt:prometheus-kt-js:v0.1.0:
                 - Incompatible because this component declares a usage of 'kotlin-api' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js' and the consumer needed an API of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm'
                 - Other compatible attributes:
                     - Doesn't say anything about its component category (required a library)
                     - Doesn't say anything about how its dependencies are found (required its dependencies declared externally)
                     - Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
                     - Doesn't say anything about its target Java version (required compatibility with Java 13)
                     - Doesn't say anything about its elements (required them preferably in the form of class files)
             - Variant 'jsRuntimeElements-published' capability com.github.anti-social.prometheus-kt:prometheus-kt-js:v0.1.0:
                 - Incompatible because this component declares a usage of 'kotlin-runtime' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js' and the consumer needed an API of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm'
                 - Other compatible attributes:
                     - Doesn't say anything about its component category (required a library)
                     - Doesn't say anything about how its dependencies are found (required its dependencies declared externally)
                     - Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
                     - Doesn't say anything about its target Java version (required compatibility with Java 13)
                     - Doesn't say anything about its elements (required them preferably in the form of class files)
...

(Truncated, the error goes on for prometheus-kt-linuxx64, prometheus-kt-metadata and others)

Example minimal project is attached:
pkt.zip

MacOS support addition

Hey there! First of all - thanks for this library, it's really promising as there's not many alternatives for Kotlin Native these days.

Is there a chance you could start publishing artifacts for MacOS along with LinuxX64 which seems to be the only supported desktop platform currently?

Thanks,
Konrad

Fit for use on Android?

Hi. Is this fit for use on Android?

My goal is to expose some basic battery/temperature/memory metrics from multiple Android devices. The devices will be on a Wireguard VPN so that they can be reached and scraped.

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.