It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Support for Kotlin when building Android Apps? Edited

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 Mar 04, 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...

Thanks, Matthew. Let me try that out!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,032 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you