looker-open-source / sdk-codegen

One SDK to rule them all, and in the codegen bind them
MIT License
228 stars 192 forks source link

Is there a plan to release Kotlin Looker SDK jar? #1042

Open Lunaticf opened 2 years ago

Lunaticf commented 2 years ago

I see this...

Currently Looker does not publish the Kotlin Looker SDK jar so you need to do
the following steps and copy the resultant jar into the `lib` folder of this project. Build
the Kotlin Looker SDK jar as follows
jkaster commented 2 years ago

Yes, we do plan to publish the Kotlin SDK but it hasn't been scheduled for a sprint yet. Sorry but we don't have a timeframe for it yet.

Lunaticf commented 2 years ago

Yes, we do plan to publish the Kotlin SDK but it hasn't been scheduled for a sprint yet. Sorry but we don't have a timeframe for it yet.

Sure, Thanks

gbotka commented 2 years ago

Yes, we do plan to publish the Kotlin SDK but it hasn't been scheduled for a sprint yet. Sorry but we don't have a timeframe for it yet.

@jkaster Do you any update on timeframe?

kavanpuranik commented 11 months ago

Any updates on this? It would be so much easier to consume the SDK if it was published in a Maven artefactory just like every other Java or Kotlin based SDK or open source libraries out there, so I am really surprised that your SDK team didn't prioritize it, especially since its a trivial task.

daniel-lopes-optimizely commented 8 months ago

@jkaster are there any updates on this matter?

deanlooker commented 8 months ago

Based on our priorities and staffing at the moment this is not currently on the near term roadmap, but we will be sure to keep you posted if and when there's any movement.

daniel-lopes-optimizely commented 8 months ago

@deanlooker is there anything we can do to put this on the near term roadmap?

Our team has to build and place the jar into every project we require, and would like to leverage more of Kotlin scripts to easily provision and manage our Looker Model deployment CI/CD workflows. But Kotlin scripts don't communicate with private maven repositories, and having to pass the jar file into every project will be a tech debt nightmare with every new version coming out.

If the other language implementations are being published to their respective central package repos, can we also make publishing consistent for Kotlin? It would reduce our tech debt, speed up our upgrade process, and keep dev experience as frictionless as possible.

daniel-lopes-optimizely commented 8 months ago

In the meantime, anybody that wants to use a dedicated maven repository, they can set their own deployment github actions project and run gradle with a bespoke init script that injects their Org's maven registry into this project, like so:

cat <<- EOF | >> init.gradle.kts
allprojects {
    version = System.getenv("VERSION") ?: "0.0.1"
    apply(plugin = "maven-publish")
    afterEvaluate {
        plugins.withId("maven-publish") {
            configure<PublishingExtension> {
                publications {
                    repositories {
                        maven {
                            name = "GitHubPackages"
                            url = uri("https://maven.pkg.github.com/OWNER/PROJECT_REPOSITORY")
                            credentials {
                                username = System.getenv("USERNAME")
                                password = System.getenv("PASSWORD")
                            }
                        }
                    }
                    create<MavenPublication>("javaPublication") {
                        from(components.getByName("java"))
                    }
                }
            }
        }
    }
}
EOF

./gradlew --init-script init.gradle.kts assemble publish