anchor.diff:  }
   ----
   
  +or, if you use the Gradle Kotlin DSL:
  +
  +[source,kotlin,subs=attributes+]
  +----
  +tasks {
  +    named<QuarkusNative>("buildNative") {
  +        setEnableHttpUrlHandler(true)
  +    }
  +}
  +----
  +
  +
   The native executable would then be produced by executing:
   
   [source,shell]
  
positive.code: 
  [source,kotlin,subs=attributes+]
  ----
  tasks {
      "test"(Test::class) {
          useJUnitPlatform()
          systemProperty("quarkus.test.profile", "foo") <1>
      }
  }
  ----
  
  <1> The `foo` configuration profile will be used to run the tests.
  
negative.code: apply plugin: 'io.quarkus'
  ----
  
  or, if you use the Gradle Kotlin DSL:
  
  [source,kotlin,subs=attributes+]
  ----
  
  buildscript {
      repositories {
          mavenLocal()
      }
      dependencies {
          classpath("io.quarkus:quarkus-gradle-plugin:999-SNAPSHOT")
      }
  }
  
  plugins {
      java
  }
  
  apply(plugin = "io.quarkus")
  ----
  
  
  [[project-creation]]
  == Creating a new project
  
  