Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Support the Kotlin DSL, build.gradle.kts #38

Closed
joshuarose opened this issue Feb 6, 2019 · 6 comments
Closed

[Feature] Support the Kotlin DSL, build.gradle.kts #38

joshuarose opened this issue Feb 6, 2019 · 6 comments
Assignees
Labels
build Related to App Center's Build service feature request New feature request keep Keeps an issue open if it's building interest

Comments

@joshuarose
Copy link

What App Center service does this feature apply to?
The CI/CD build pipeline

Describe the solution you'd like
Instead of only looking for build.gradle files update the project analyzer to also look for build.gradle.kts files.

Describe alternatives you've considered
We're likely looking to move to Travis temporarily for building this app until this feature becomes available. The other alternative would be to revert back to using groovy for build files, but the autocompletion and strong typing of Kotlin DSL are something our team has seen value in.

Additional context
https://github.com/gradle/kotlin-dsl

@joshuarose joshuarose added the feature request New feature request label Feb 6, 2019
@joemellin joemellin added the build Related to App Center's Build service label Feb 6, 2019
@patniko patniko added the keep Keeps an issue open if it's building interest label Feb 6, 2019
@nilofer
Copy link

nilofer commented Feb 7, 2019

Thanks for adding this feature request @joshuarose. Looks like it has gotten some community support already - we will keep it open to track further interest.

@harry248
Copy link

@nrajpurkar Any update on this topic? We just converted our groovy based build files to the gradle kotlin dsl and now we can't build on app center anymore. Considering that almost 4 months have passed since the official release we would have expected that a serious CI solution (we are paying for) is a) aware of such development and b) has working support within an adequate time frame.

@nilofer
Copy link

nilofer commented Mar 25, 2019

Hi @harry248, no immediate updates to share at this moment, but this continues to be functionality myself and my team are aware of and tracking.

@blparr blparr mentioned this issue May 28, 2019
18 tasks
@matthiaswenz
Copy link

Hi there @harry248 and everybody else interested in using the Kotlin DSL for configuring your Android projects. We're currently working on support for this and would love your feedback.
If you are interested, feel free to send me a message (email is in my profile) and I'll get back to you.

@matthiaswenz
Copy link

Just a quick update: We have shipped and enabled the feature to analyze Kotlin DSL based Gradle configurations for your Android Java/Kotlin and Android React Native apps.
There is no extra work in order for you to use this, your app and its build variants should now automatically appear when configuring a build. If you're encountering any problems with this, please do let us know here or through support in the App Center portal.

@rohitgarg2022
Copy link

Command 'codepush release-react -a rohit.garg.com/housingnative --entry-file index.js --sourcemap-output index.map -d rewrite -b index.android.bundle' failed with exception "Unable to find gradle file "android/app/build.gradle"." The file is basically android/app/build.gradle.kts but it is not picking that file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to App Center's Build service feature request New feature request keep Keeps an issue open if it's building interest
Projects
None yet
Development

No branches or pull requests

7 participants