Skip to content

Commit 23041e1

Browse files
authored
Merge pull request #574 from DataDog/yl/merge-release-to-main
Merge release/1.27.0 into main
2 parents 6cad62e + 2087dce commit 23041e1

110 files changed

Lines changed: 1921 additions & 660 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,24 @@
44

55
[*.{kt,kts}]
66
ktlint_code_style = android_studio
7+
ktlint_experimental = disabled
78
ij_kotlin_allow_trailing_comma_on_call_site = false
89
ij_kotlin_allow_trailing_comma = false
910
ij_kotlin_imports_layout=*,java.**,javax.**,kotlin.**,^
11+
ktlint_standard_class-signature = disabled
12+
ktlint_standard_function-signature = disabled
13+
ktlint_standard_function-expression-body = disabled
14+
ktlint_standard_function-naming = disabled
15+
ktlint_standard_property-naming = disabled
16+
ktlint_standard_trailing-comma-on-call-site = disabled
17+
ktlint_standard_trailing-comma-on-declaration-site = disabled
18+
ktlint_function_naming_ignore_when_annotated_with = Composable
1019
max_line_length = 120
1120

1221
# SPDX License Names
1322
[buildSrc/src/main/kotlin/com/datadog/gradle/plugin/checklicenses/SPDXLicense.kt]
1423
ktlint_standard_enum-entry-name-case = disabled
24+
25+
# by some reason not working via @Suppress anymore
26+
[samples/basic/src/main/java/com/datadog/example/basic/MainActivity.kt]
27+
ktlint_standard_no-unused-imports = disabled

.gitlab-ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
variables:
2-
CURRENT_CI_IMAGE: "14"
2+
CURRENT_CI_IMAGE: "15"
33
CI_IMAGE_DOCKER: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/dd-sdk-android-gradle-plugin:$CURRENT_CI_IMAGE
44
GIT_DEPTH: 5
55

@@ -20,6 +20,15 @@ variables:
2020
KUBERNETES_MEMORY_REQUEST: "8Gi"
2121
KUBERNETES_MEMORY_LIMIT: "20Gi"
2222

23+
# Magic Mirror Depot proxy URLs. The depot proxies both Maven Central and the Gradle
24+
# Plugin Portal for the Java ecosystem from the same endpoint. Setting these routes
25+
# dependency/plugin resolution through Datadog's internal mirror to avoid HTTP 429
26+
# rate-limits from upstream registries.
27+
# Declared as ORG_GRADLE_PROJECT_* so Gradle reads them as
28+
# `providers.gradleProperty("<name>")` and they propagate to triggered child pipelines.
29+
ORG_GRADLE_PROJECT_mavenRepositoryProxy: "https://depot-read-api-java.us1.ddbuild.io/magicmirror/magicmirror/@current/"
30+
ORG_GRADLE_PROJECT_gradlePluginProxy: "https://depot-read-api-java.us1.ddbuild.io/magicmirror/magicmirror/@current/"
31+
2332
include:
2433
- local: 'ci/pipelines/default-pipeline.yml'
2534
rules:

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# 1.27.0 / 2026-06-11
2+
3+
* [FEATURE] Add Kotlin 2.4 support for Compose instrumentation. See [#568](https://github.com/DataDog/dd-sdk-android-gradle-plugin/pull/568)
4+
* [BUGFIX] Limit Jetpack Compose instrumentation only to Android compilations. See [#555](https://github.com/DataDog/dd-sdk-android-gradle-plugin/pull/555)
5+
* [BUGFIX] Set `readTimeout` on `OkHttpClient` to match `writeTimeout`. See [#567](https://github.com/DataDog/dd-sdk-android-gradle-plugin/pull/567)
6+
* [IMPROVEMENT] Move from `buildSrc` to isolated build plugins module. See [#556](https://github.com/DataDog/dd-sdk-android-gradle-plugin/pull/556)
7+
* [IMPROVEMENT] Remove Kotlin Compiler Embeddable from the dependencies of the main plugin module. See [#559](https://github.com/DataDog/dd-sdk-android-gradle-plugin/pull/559)
8+
* [IMPROVEMENT] Refactor compiler test infrastructure to support pluggable registrar APIs. See [#563](https://github.com/DataDog/dd-sdk-android-gradle-plugin/pull/563)
9+
* [MAINTENANCE] Fix OOM in `test:plugin`. See [#554](https://github.com/DataDog/dd-sdk-android-gradle-plugin/pull/554)
10+
* [MAINTENANCE] Next dev iteration 1.27.0. See [#550](https://github.com/DataDog/dd-sdk-android-gradle-plugin/pull/550)
11+
* [MAINTENANCE] Merge release 1.26.0 to develop. See [#552](https://github.com/DataDog/dd-sdk-android-gradle-plugin/pull/552)
12+
* [MAINTENANCE] Update Datadog Gradle Plugin to version 1.26.0. See [#551](https://github.com/DataDog/dd-sdk-android-gradle-plugin/pull/551)
13+
* [MAINTENANCE] Update static analysis template version. See [#557](https://github.com/DataDog/dd-sdk-android-gradle-plugin/pull/557)
14+
* [MAINTENANCE] Update Datadog SDK to version 3.10.0. See [#558](https://github.com/DataDog/dd-sdk-android-gradle-plugin/pull/558)
15+
* [MAINTENANCE] Sign automatically created commits. See [#561](https://github.com/DataDog/dd-sdk-android-gradle-plugin/pull/561)
16+
* [MAINTENANCE] Resolve dependencies through Magic Mirror Depot in CI. See [#562](https://github.com/DataDog/dd-sdk-android-gradle-plugin/pull/562)
17+
* [MAINTENANCE] Bump Kotlin version to 2.3.20. See [#565](https://github.com/DataDog/dd-sdk-android-gradle-plugin/pull/565)
18+
* [MAINTENANCE] Merge `feature/kotlin24` into `develop`. See [#569](https://github.com/DataDog/dd-sdk-android-gradle-plugin/pull/569)
19+
120
# 1.26.0 / 2026-04-27
221

322
* [FEATURE] Add `US2_FED` datacenter support. See [#542](https://github.com/DataDog/dd-sdk-android-gradle-plugin/pull/542)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ same feature from a Java source code.
125125
Our coding style is ensured by [KtLint](https://ktlint.github.io/), with the
126126
default settings. A KtLint check is ran on every PR to ensure that all new code
127127
follow this rule.
128-
Current KtLint version: 0.47.1
128+
Current KtLint version: 1.5.0
129129

130130
Classes should group their methods in folding regions named after the declaring
131131
class. Private methods should be grouped in an `Internal` named folding region.

LICENSE-3rdparty.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ build,org.jetbrains.dokka,Apache-2.0,"Copyright 2014-2019 JetBrains s.r.o. and D
77
build,org.jetbrains.intellij.deps,LGPL-2.1-only,"Copyright (c) 2001-2002, Eric D. Friedman, Jason Baldridge, Copyright (c) 1999 CERN - European Organization for Nuclear Research"
88
import,com.android.tools.build,Apache-2.0,Copyright (C) 2013 The Android Open Source Project
99
import,com.squareup.okhttp3,Apache-2.0,"Copyright 2019 Square, Inc"
10+
import,org.bouncycastle,BouncyCastle-License,"Copyright (c) 2000 - 2026 The Legion of the Bouncy Castle Inc. (https://www.bouncycastle.org)""
1011
import,org.jetbrains,Apache-2.0,Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors
1112
import,org.jetbrains.kotlin,Apache-2.0,Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors
1213
import,com.google.auto.service,Apache-2.0,Copyright 2013 Google LLC

build.gradle.kts

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,40 @@
66

77
buildscript {
88
repositories {
9+
// Magic Mirror Depot proxy (only set in CI via `.gitlab-ci.yml`).
10+
listOf("gradlePluginProxy", "mavenRepositoryProxy")
11+
.mapNotNull { providers.gradleProperty(it).orNull?.takeIf { url -> url.isNotBlank() } }
12+
.forEach { url -> maven { setUrl(url) } }
913
google()
1014
mavenCentral()
11-
maven(com.datadog.gradle.Dependencies.Repositories.Gradle)
15+
gradlePluginPortal()
1216
mavenLocal()
1317
}
1418

1519
dependencies {
16-
classpath(libs.androidToolsPluginGradle)
17-
classpath(libs.kotlinPluginGradle)
18-
classpath(libs.dokkaPluginGradle)
1920
// Uncomment to use the samples
2021
// classpath(libs.datadogPluginGradle)
2122
}
2223
}
2324

25+
plugins {
26+
alias(libs.plugins.kotlinPlugin23) apply false
27+
alias(libs.plugins.dokkaJavadocPlugin) apply false
28+
alias(libs.plugins.androidApplicationPlugin) apply false
29+
alias(libs.plugins.androidLibraryPlugin) apply false
30+
alias(libs.plugins.versionsPluginGradle) apply false
31+
alias(libs.plugins.mavenPublishPlugin) apply false
32+
}
33+
2434
allprojects {
2535
repositories {
36+
// Magic Mirror Depot proxy (only set in CI via `.gitlab-ci.yml`).
37+
listOf("gradlePluginProxy", "mavenRepositoryProxy")
38+
.mapNotNull { providers.gradleProperty(it).orNull?.takeIf { url -> url.isNotBlank() } }
39+
.forEach { url -> maven(url) }
2640
google()
2741
mavenCentral()
28-
maven(com.datadog.gradle.Dependencies.Repositories.Jitpack)
42+
maven("https://jitpack.io")
2943
maven("https://central.sonatype.com/repository/maven-snapshots/")
3044
}
3145
}

buildSrc/settings.gradle.kts

Lines changed: 0 additions & 13 deletions
This file was deleted.

buildSrc/src/main/kotlin/com/datadog/gradle/KotlinDSLUtils.kt

Lines changed: 0 additions & 51 deletions
This file was deleted.

buildSrc/src/main/kotlin/com/datadog/gradle/config/JacocoConfig.kt

Lines changed: 0 additions & 73 deletions
This file was deleted.

ci/Dockerfile.gitlab

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,4 @@ RUN curl -L https://github.com/get-woke/woke/releases/download/v${WOKE_VERSION}/
9797
&& rm -Rf woke-${WOKE_VERSION}-linux-amd64 woke-${WOKE_VERSION}-linux-amd64.tar.gz
9898

9999
COPY --from=registry.ddbuild.io/dd-octo-sts:v1.8.2 /usr/local/bin/dd-octo-sts /usr/local/bin/dd-octo-sts
100+
COPY --from=registry.ddbuild.io/commit-headless:v2.0.1 /commit-headless /usr/local/bin/commit-headless

0 commit comments

Comments
 (0)