anti-social / prometheus-kt Goto Github PK
View Code? Open in Web Editor NEWPrometheus for Kotlin
License: Apache License 2.0
Prometheus for Kotlin
License: Apache License 2.0
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
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
Will you be distributing this project via a service other than bintray when it becomes unavailable on 1st May? https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/
Thank you for your work!
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.
Did the v0.1.1 version publish correctly? Hitting https://jitpack.io/com/github/anti-social/prometheus-kt/v0.1.1/prometheus-kt-v0.1.1.pom comes back with:
Build failed. See the log at jitpack.io
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.