zxing-cpp / zxing-cpp

C++ port of ZXing
Apache License 2.0
1.22k stars 390 forks source link

Publishing aar to mavenCentral #655

Closed adrienbusin closed 9 months ago

adrienbusin commented 10 months ago

Please, is it possible to publish your aar to mavenCentral instead of build an aar manualy ?

Thanks a lot !

axxel commented 10 months ago

Yes, this is going to happen soonish. Please see the discussion in #636 .

axxel commented 9 months ago

Update: there is now a SNAPSHOT version available. To access it, you need to touch at least 3 files in your app:

1) settings.gradle.kts

dependencyResolutionManagement {
    repositories {
        maven(url = "https://s01.oss.sonatype.org/content/repositories/snapshots")
    }
}

2) build.gradle.kts:

dependencies {
    implementation("io.github.zxing-cpp:android:2.1.0-SNAPSHOT")
}

3) your-app.kts

import zxingcpp.ZXingCpp

Before I publish the final release, I'd like to hear from at least 2 of @markusfisch @benjohnde @adrienbusin @okarmazin that this works for them. Please note that the class-path/namespace recently changed from com.zxingcpp to zxingcpp.

markusfisch commented 9 months ago

Works for me 👍

adrienbusin commented 9 months ago

Works for me too 👌

benjohnde commented 9 months ago

Brilliant! Nice :)

adrienbusin commented 9 months ago

Hello @axxel did you push 2.2.0 version to mavenCentral ? I don't find it, but in your readme It's written that 2.2.0 is available into MavenCentral ? Thanks 🙂

axxel commented 9 months ago

Sorry for the confusion but the 2.2 release is not out, yet.

See the recent discussion about remaining inconsistencies. (Github mobile app does not help me in finding the #-number... :-/ )

adrienbusin commented 9 months ago

Ok ! @axxel so when do you plan to release a new version add push it to mavenCentral ? thanks 🙂

axxel commented 9 months ago

Done: https://central.sonatype.com/artifact/io.github.zxing-cpp/android