Skip to content

Build Locally

Andy Xu(devdiv) edited this page Aug 25, 2021 · 3 revisions

Building

  • Clone the repository :

    $ git clone https://github.com/microsoft/azure-gradle-plugins
    
  • Run the following command to publish to local maven repository under the project base path:

    $ cd azure-gradle-plugins
    $ .\gradlew prepareResources publishToMavenLocal
    
  • Use gradle plugin at local maven repository

    buildscript{
      repositories {
        mavenLocal()
        mavenCentral()
      }
      dependencies {
        classpath "com.microsoft.azure:azure-functions-gradle-plugin:1.7.0"
      }
    }
    
  • Test:

    .\gradlew azureFunctionsRun
    .\gradlew azureFunctionsDeploy
    
    
Clone this wiki locally