Reputation: 1695
I'm trying to build a CI pipeline for a Kotlin project developed on Android Studio. Using Azure DevOps pipelines.
I'm having an issue finding a Kotlin plugin or Tasks for the pipeline as we can see in the picture.
Anyone have an idea about how can we implement this type of pipeline? I didn't find anything on the internet and Microsoft have no documentation.
Upvotes: 2
Views: 2028
Reputation: 1695
The issue was not with Kotlin or Java. The issue was with the SDK
being used on the Hosting Agent.
The solution was the following steps:
SDK
to Azure Blob StorageUse Java
Task in order to install the specified SDK
Run the Android Pipeline with Sonarqube tasks, build was successfully run and SonarQube Code Review was successfully executed.
Upvotes: 1
Reputation: 36
If I understand correctly the answer you are looking for is the Gradle task. Here is a blog from someone using gradle and in azure devops with their Kotlin code. But I am sure there are more details around how to set up gradle task for kotlin build.
Upvotes: 1