anchor.diff:      }
   }
   ----
  +****
  +
  +[role="secondary asciidoc-tabs-sync-kotlin"]
  +.Kotlin DSL
  +****
  +[source,kotlin]
  +----
  +quarkus {
  +    sourceSets {
  +        setExtraNativeTest(sourceSets["integrationTest"])
  +    }
  +}
  +----
  +****
   
   ====
   
  
positive.code: 
  In order to make sure the right dependency versions are being used by Gradle, the BOM is declared as an `enforcedPlatform` in your build file.
  By default, the `maven-publish` plugin will prevent you from publishing your application due to this `enforcedPlatform`.
  This validation can be skipped by adding the following configuration in your `build.gradle` file:
  
  [source,groovy]
  ----
  tasks.withType(GenerateModuleMetadata).configureEach {
      suppressedValidationErrors.add('enforced-platform')
  }
  ----
  
negative.code: }
  ----
  
  <1> Set `quarkus.native.container-build` property to `true`
  <2> Set `quarkus.native.build-image` property to `quay.io/quarkus/ubi-quarkus-native-image:{graalvm-flavor}`
  ****
  
  [role="secondary asciidoc-tabs-sync-kotlin"]
  .Kotlin DSL
  ****
  [source,kotlin,subs=attributes+]
  ----
  tasks.quarkusBuild {
      nativeArgs {
          "container-build" to true <1>
          "build-image" to "quay.io/quarkus/ubi-quarkus-native-image:{graalvm-flavor}" <2>
      }
  }
  ----
  
  <1> Set `quarkus.native.container-build` property to `true`
  <2> Set `quarkus.native.build-image` property to `quay.io/quarkus/ubi-quarkus-native-image:{graalvm-flavor}`
  ****
  
  [WARNING]
  ====
  