Skip to content

Commit

Permalink
Suppress warnings about unstable Gradle APIs
Browse files Browse the repository at this point in the history
We're intentionally using [an unstable Gradle Kotlin feature that
allows direct `... = ...` assignment to `Property`
instances](https://blog.gradle.org/simpler-kotlin-dsl-property-assignment).
This feature may be considered unstable, but it's stable enough to
have been [enabled by default since Gradle
8.2](https://docs.gradle.org/8.2.1/release-notes.html#simple-property-assignment-in-kotlin-dsl-enabled-by-default).
  • Loading branch information
liblit committed Sep 5, 2023
1 parent df52cbb commit ab4e3e8
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:Suppress("UnstableApiUsage")

import com.diffplug.spotless.LineEnding.PLATFORM_NATIVE

plugins {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:Suppress("UnstableApiUsage")

package com.ibm.wala.gradle

// Build configuration for subprojects that include Java source code.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:Suppress("UnstableApiUsage")

package com.ibm.wala.gradle

plugins {
Expand Down
2 changes: 2 additions & 0 deletions cast/java/ecj/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:Suppress("UnstableApiUsage")

plugins {
application
id("com.ibm.wala.gradle.eclipse-maven-central")
Expand Down
2 changes: 2 additions & 0 deletions cast/java/test/data/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:Suppress("UnstableApiUsage")

import com.ibm.wala.gradle.VerifiedDownload
import java.net.URI
import net.ltgt.gradle.errorprone.errorprone
Expand Down
2 changes: 2 additions & 0 deletions cast/js/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:Suppress("UnstableApiUsage")

import com.ibm.wala.gradle.CreatePackageList
import com.ibm.wala.gradle.VerifiedDownload
import java.net.URI
Expand Down
2 changes: 2 additions & 0 deletions cast/js/nodejs/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:Suppress("UnstableApiUsage")

import com.ibm.wala.gradle.VerifiedDownload
import java.net.URI

Expand Down
2 changes: 2 additions & 0 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:Suppress("UnstableApiUsage")

import com.ibm.wala.gradle.CompileKawaScheme
import com.ibm.wala.gradle.JavaCompileUsingEcj
import com.ibm.wala.gradle.VerifiedDownload
Expand Down

0 comments on commit ab4e3e8

Please sign in to comment.