gradle-xcodePlugin icon indicating copy to clipboard operation
gradle-xcodePlugin copied to clipboard

Any plans to publish 0.22.0 to Maven Central or Gradle Plugins?

Open adil-hussain-84 opened this issue 2 years ago • 6 comments

I see in the CHANGELOG that there's a 0.22.0 release which supports Xcode 13.2.1.

Do you have any plans to publish this release to Maven Central or https://plugins.gradle.org/m2 any time soon?

adil-hussain-84 avatar Apr 12 '22 16:04 adil-hussain-84

I have some trouble with the publish task on my build server. I will look to it next week and post an update.

renep avatar Apr 14 '22 06:04 renep

any luck so far? I'm having issues with the current 0.21.0. Thanks :)

thipokch avatar Jul 28 '22 10:07 thipokch

I did not find time yet to look into this. This has also no high priority for me, because the publish on my own server works fine. So when you use the method described in the Readme you will get the lastest version of the plugin: https://github.com/openbakery/gradle-xcodePlugin#usage

(This remindes me that I have to test it with Xcode 14-beta 😬)

renep avatar Jul 28 '22 11:07 renep

I'm actually experiment this plugin with Kotlin DSL and Xcode 14. I might fork this and just publish it for the peace of mind. It's a little bit easier and more consistent with my build setup too.

thipokch avatar Jul 28 '22 14:07 thipokch

Just realized that Gradle Plugin repo does not allow forks, so I just published it to jitpack

// build.gradle.kts

buildscript {
    repositories {
        gradlePluginPortal()
        google()
        mavenCentral()
        maven {
            url = uri("https://jitpack.io")
            // isAllowInsecureProtocol not required
        }
    }

    dependencies {
        classpath( "com.github.thipokch:gradle-xcodePlugin:0.22.2")
        ...
    }
}

plugins {
    id("org.openbakery.xcode-plugin")
}

thipokch avatar Jul 29 '22 03:07 thipokch

@renep Jitpack seems to work right out of the box. Here's where I published it https://jitpack.io/#thipokch/gradle-xcodePlugin. The only change I've made is added Maven Publish plugin to libxcode and libxcodetools as seen in commit 3241b78025a4fd7bcf58a251e2babcb164db3c8b . Jitpack just publish to maven local and take care of the rest.

thipokch avatar Jul 29 '22 04:07 thipokch