TheJuki / KFormMaster

Generic form builder in Kotlin
https://thejuki.github.io/KFormMaster/
Apache License 2.0
196 stars 46 forks source link

Migrate to Maven Central #244

Open TheJuki opened 3 years ago

TheJuki commented 3 years ago

https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

https://www.marcogomiero.com/posts/2021/move-libray-jcenter-to-maven/

https://getstream.io/blog/publishing-libraries-to-mavencentral-2021/

https://github.com/GetStream/stream-chat-android

https://central.sonatype.org/pages/ossrh-guide.html

https://s01.oss.sonatype.org/#stagingRepositories

TheJuki commented 3 years ago

Waiting on sync for 1.2.0 of https://search.maven.org/artifact/com.github.thejuki/imagepicker

TheJuki commented 3 years ago

Waiting on sync for 8.2.0 of https://search.maven.org/search?q=g:com.github.thejuki%20AND%20a:k-form-master

TheJuki commented 3 years ago
implementation("com.github.thejuki:k-form-master:8.2.0") {
        exclude group: 'com.github.thejuki', module: 'imagepicker'
}
api "com.github.thejuki:imagepicker:1.2.0@aar"

This works but is not a good solution. Need to find out why imagepicker needs @aar.

TheJuki commented 3 years ago

There is a random

<dependency>
      <groupId/>
      <artifactId>unspecified</artifactId>
      <version/>
    </dependency>

in the 1.2.0 POM...Need to release a new version without this

TheJuki commented 3 years ago

Removing implementation fileTree(dir: 'libs', include: ['*.jar']) and releasing version 1.12.0

TheJuki commented 3 years ago

Waiting on sync for 8.2.1 of https://search.maven.org/search?q=g:com.github.thejuki%20AND%20a:k-form-master

TheJuki commented 3 years ago

Sync completed but not showing up on the Maven Central website yet.

TheJuki commented 3 years ago

This is showing on the Maven Central website and on the README badge now. I'll close this issue when I have migrated past releases.

VincentJoshuaET commented 2 years ago

Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.github.florent37:inline-activity-result-kotlin:1.0.2. Show Details Affected Modules: app

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.github.florent37:inline-activity-result-kotlin:1.0.2. Show Details Affected Modules: app

Failed to resolve: com.redmadrobot:input-mask-android:6.0.0 Show in Project Structure dialog Affected Modules: app

Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.github.florent37:inline-activity-result-kotlin:1.0.2. Show Details Affected Modules: app

Failed to resolve: cn.aigestudio.wheelpicker:WheelPicker:1.1.3 Show in Project Structure dialog Affected Modules: app

Failed to resolve: net.cachapa.expandablelayout:expandablelayout:2.9.2 Show in Project Structure dialog Affected Modules: app

TheJuki commented 2 years ago

@VincentJoshuaET You will need to keep jcenter() in your repositories list as many of the dependencies may never migrate.

https://github.com/TheJuki/KFormMaster/blob/master/build.gradle#L13

https://developer.android.com/studio/build/jcenter-migration

VincentJoshuaET commented 2 years ago

What will happen to this library if JCenter becomes dead?

TheJuki commented 2 years ago

JFrog has decided to keep JCenter as a read-only repository indefinitely.

https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

TheJuki commented 2 years ago

@VincentJoshuaET I have removed jcenter() as a repository in 8.3.0.

xiaosu commented 2 months ago

@TheJuki Could you please push version 7.0.0 to maven repository?