Skip to content

Commit 98d57d4

Browse files
authored
Merge pull request #2529 from DataDog/nogorodnikov/trigger-java-api-surface-generation-at-api-surface-check
Trigger Java API surface generation at the `checkApiSurfaceChanges` task
2 parents f8c6da4 + 80f6829 commit 98d57d4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

buildSrc/src/main/kotlin/com/datadog/gradle/plugin/apisurface/ApiSurfacePlugin.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ class ApiSurfacePlugin : Plugin<Project> {
3636
this.kotlinSurfaceFile = kotlinSurfaceFile
3737
this.javaSurfaceFile = javaSurfaceFile
3838
dependsOn(TASK_GEN_KOTLIN_API_SURFACE)
39+
if (target.plugins.hasPlugin(GEN_JAVA_API_LAYOUT_PLUGIN)) {
40+
dependsOn(TASK_GEN_JAVA_API_SURFACE)
41+
}
3942
}
4043

4144
target.taskConfig<KotlinCompile> {

features/dd-sdk-android-rum/api/dd-sdk-android-rum.api

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ public abstract interface class com/datadog/android/rum/RumSessionListener {
234234
public final class com/datadog/android/rum/_RumInternalProxy {
235235
public static final field Companion Lcom/datadog/android/rum/_RumInternalProxy$Companion;
236236
public final fun addLongTask (JLjava/lang/String;)V
237-
public final fun setInternalViewAttribute (Ljava/lang/String;Ljava/lang/Object;)V
238237
public final fun enableJankStatsTracking (Landroid/app/Activity;)V
238+
public final fun setInternalViewAttribute (Ljava/lang/String;Ljava/lang/Object;)V
239239
public final fun setSyntheticsAttribute (Ljava/lang/String;Ljava/lang/String;)V
240240
public final fun updatePerformanceMetric (Lcom/datadog/android/rum/RumPerformanceMetric;D)V
241241
}

0 commit comments

Comments
 (0)