Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Support for Kotlin when building Android Apps?

mangotamu March 3, 2019

Hi, I use Android Studio 3.3.1 for Mac/Windows 10 for creating Android mobile apps.

Since it is possible to mix the 2 languages, I use both Kotlin and Java for my project. This project is pushed to the Bitbucket Cloud repo.

Screen Shot 2019-03-03 at 11.22.16 PM.pngAfter pushing the commits, I want to build this Android Studio project via the pipeline.

Do I need to click "Java (Gradle)"?

Or since this project uses both languages, how should I configure the pipeline?

 

-Kind Regards

 

 

1 answer

1 accepted

0 votes
Answer accepted
mwatson
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 4, 2019

I'd start with 'Java (Gradle)' but then modify the pipeline according to the instructions in this community post: https://community.atlassian.com/t5/Bitbucket-questions/How-to-setup-Pipelines-for-an-Android-app/qaq-p/424255

That should get you going - I don't know if you'll have to modify the setup to get Kotlin compiled or the default gradle will just do that since you've set it up in Android Studio already...

mangotamu March 4, 2019

Thanks, Matthew. Let me try that out!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events