Closed alain-marcel closed 1 year ago
I update branch spring-cloud-azure of the project https://github.com/alain-marcel/tutorial-alain-azure-function-kotlin-spring-cloud.git
Then Azure Gradle Plugin
See details in the project
Thanks for your help
On my desktop, I install last version of Azure Function Core Tools (4.0.5148). Now, Azure Gradle Plugin task azureFunctionsRun run and execute http request successfully. I still have warning message indicating java classes directory is not found, but without consequences. I will now try to execute CI/CD on azure devops. If ok, then I will close the ticket
Using implementation("org.springframework.cloud:spring-cloud-starter-task:3.0.2") implementation("org.springframework.cloud:spring-cloud-starter-function-web:4.0.2") implementation("org.springframework.cloud:spring-cloud-function-adapter-azure:3.2.10")
I still have warning message indicating java classes directory is not found, but without consequences.
Locally, application runs locally with bootRun or AzureFunctionsRun. Remotly (on Azure), application also runs ok. I can close the issue
The plugin Azure Gradle Plugin generates followin message
A kotlin project does not have classes/java/main. So when using Azure Gradle Plugin, the message appears. I have not tested with other versions of the Azure Gradle Plugin.
Reproduce
I have done a project at https://github.com/alain-marcel/tutorial-alain-azure-function-kotlin-spring-cloud.git to reproduce the issue. The project
The project has two branches:
More information : https://github.com/alain-marcel/tutorial-alain-azure-function-kotlin-spring-cloud/blob/main/README.md
Question
I would like to know if the gradle task azureFunctionsPackage executed in branch spring-cloud-azure fails
Thanks for your response.