Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
id "java-library"
id "org.sonarqube" version "6.2.0.5505"
id 'com.github.spotbugs' version '6.2.1'
id "com.diffplug.spotless" version "7.1.0"
alias(libs.plugins.org.sonarqube)
alias(libs.plugins.com.github.spotbugs)
alias(libs.plugins.com.diffplug.spotless)
}

sonar {
Expand Down
6 changes: 3 additions & 3 deletions components/abstractions/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ buildscript {
}

dependencies {
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.19.2"
classpath "com.android.tools.build:gradle:8.11.0"
classpath "com.github.ben-manes:gradle-versions-plugin:0.52.0"
classpath(libs.com.gradle.gradle.enterprise.gradle.plugin)
classpath(libs.com.android.tools.build.gradle)
classpath(libs.com.github.ben.manes.gradle.versions.plugin)
}
}

Expand Down
12 changes: 6 additions & 6 deletions components/abstractions/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
dependencies {
// Use JUnit Jupiter API for testing.
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.3'
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation 'org.mockito:mockito-core:5.18.0'
testImplementation(libs.org.junit.jupiter.junit.jupiter)
testRuntimeOnly(libs.org.junit.platform.junit.platform.launcher)
testImplementation(libs.org.mockito.mockito.core)
testImplementation project(':components:serialization:json')

// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'io.github.std-uritemplate:std-uritemplate:2.0.0'
implementation 'io.opentelemetry:opentelemetry-api:1.51.0'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
implementation(libs.io.github.std.uritemplate.std.uritemplate)
implementation(libs.io.opentelemetry.opentelemetry.api)
implementation(libs.jakarta.annotation.jakarta.annotation.api)
}
6 changes: 3 additions & 3 deletions components/authentication/azure/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ buildscript {
}

dependencies {
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.19.2"
classpath "com.android.tools.build:gradle:8.11.0"
classpath "com.github.ben-manes:gradle-versions-plugin:0.52.0"
classpath(libs.com.gradle.gradle.enterprise.gradle.plugin)
classpath(libs.com.android.tools.build.gradle)
classpath(libs.com.github.ben.manes.gradle.versions.plugin)
}
}

Expand Down
16 changes: 8 additions & 8 deletions components/authentication/azure/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
dependencies {
// Use JUnit Jupiter API for testing.
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.3'
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation 'org.mockito:mockito-core:5.18.0'
testImplementation(libs.org.junit.jupiter.junit.jupiter)
testRuntimeOnly(libs.org.junit.platform.junit.platform.launcher)
testImplementation(libs.org.mockito.mockito.core)

// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'io.opentelemetry:opentelemetry-api:1.51.0'
implementation 'io.opentelemetry:opentelemetry-context:1.51.0'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
api 'javax.xml.stream:stax-api:1.0-2'
api 'com.azure:azure-core:1.55.5'
implementation(libs.io.opentelemetry.opentelemetry.api)
implementation(libs.io.opentelemetry.opentelemetry.context)
implementation(libs.jakarta.annotation.jakarta.annotation.api)
api(libs.javax.xml.stream.stax.api)
api(libs.com.azure.azure.core)

api project(':components:abstractions')
}
6 changes: 3 additions & 3 deletions components/bundle/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ buildscript {
}

dependencies {
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.19.2"
classpath "com.android.tools.build:gradle:8.11.0"
classpath "com.github.ben-manes:gradle-versions-plugin:0.52.0"
classpath(libs.com.gradle.gradle.enterprise.gradle.plugin)
classpath(libs.com.android.tools.build.gradle)
classpath(libs.com.github.ben.manes.gradle.versions.plugin)
}
}

Expand Down
8 changes: 4 additions & 4 deletions components/bundle/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
dependencies {
// Use JUnit Jupiter API for testing.
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.3'
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation(libs.org.junit.jupiter.junit.jupiter)
testRuntimeOnly(libs.org.junit.platform.junit.platform.launcher)

testImplementation 'org.mockito:mockito-core:5.18.0'
testImplementation(libs.org.mockito.mockito.core)

implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
implementation(libs.jakarta.annotation.jakarta.annotation.api)

api project(':components:abstractions')
api project(':components:http:okHttp')
Expand Down
6 changes: 3 additions & 3 deletions components/http/okHttp/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ buildscript {
}

dependencies {
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.19.2"
classpath "com.android.tools.build:gradle:8.11.0"
classpath "com.github.ben-manes:gradle-versions-plugin:0.52.0"
classpath(libs.com.gradle.gradle.enterprise.gradle.plugin)
classpath(libs.com.android.tools.build.gradle)
classpath(libs.com.github.ben.manes.gradle.versions.plugin)
}
}

Expand Down
18 changes: 9 additions & 9 deletions components/http/okHttp/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
dependencies {
// Use JUnit Jupiter API for testing.
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.3'
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation(libs.org.junit.jupiter.junit.jupiter)
testRuntimeOnly(libs.org.junit.platform.junit.platform.launcher)

testImplementation 'org.mockito:mockito-core:5.18.0'
testImplementation 'com.squareup.okhttp3:logging-interceptor:4.12.0'
testImplementation 'com.squareup.okhttp3:mockwebserver:4.12.0'
testImplementation(libs.org.mockito.mockito.core)
testImplementation(libs.com.squareup.okhttp3.logging.interceptor)
testImplementation(libs.com.squareup.okhttp3.mockwebserver)


// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'io.opentelemetry:opentelemetry-api:1.51.0'
implementation 'io.opentelemetry:opentelemetry-context:1.51.0'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
api 'com.squareup.okhttp3:okhttp:4.12.0'
implementation(libs.io.opentelemetry.opentelemetry.api)
implementation(libs.io.opentelemetry.opentelemetry.context)
implementation(libs.jakarta.annotation.jakarta.annotation.api)
api(libs.com.squareup.okhttp3.okhttp)

api project(':components:abstractions')
}
6 changes: 3 additions & 3 deletions components/serialization/form/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ buildscript {
}

dependencies {
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.19.2"
classpath "com.android.tools.build:gradle:8.11.0"
classpath "com.github.ben-manes:gradle-versions-plugin:0.52.0"
classpath(libs.com.gradle.gradle.enterprise.gradle.plugin)
classpath(libs.com.android.tools.build.gradle)
classpath(libs.com.github.ben.manes.gradle.versions.plugin)
}
}

Expand Down
6 changes: 3 additions & 3 deletions components/serialization/form/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
dependencies {
// Use JUnit Jupiter API for testing.
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.3'
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation(libs.org.junit.jupiter.junit.jupiter)
testRuntimeOnly(libs.org.junit.platform.junit.platform.launcher)

// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
implementation(libs.jakarta.annotation.jakarta.annotation.api)

api project(':components:abstractions')
}
6 changes: 3 additions & 3 deletions components/serialization/json/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ buildscript {
}

dependencies {
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.19.2"
classpath "com.android.tools.build:gradle:8.11.0"
classpath "com.github.ben-manes:gradle-versions-plugin:0.52.0"
classpath(libs.com.gradle.gradle.enterprise.gradle.plugin)
classpath(libs.com.android.tools.build.gradle)
classpath(libs.com.github.ben.manes.gradle.versions.plugin)
}
}

Expand Down
8 changes: 4 additions & 4 deletions components/serialization/json/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
dependencies {
// Use JUnit Jupiter API for testing.
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.3'
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation(libs.org.junit.jupiter.junit.jupiter)
testRuntimeOnly(libs.org.junit.platform.junit.platform.launcher)

// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
api 'com.google.code.gson:gson:2.13.1'
implementation(libs.jakarta.annotation.jakarta.annotation.api)
api(libs.com.google.code.gson.gson)

api project(':components:abstractions')
}
6 changes: 3 additions & 3 deletions components/serialization/multipart/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ buildscript {
}

dependencies {
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.19.2"
classpath "com.android.tools.build:gradle:8.11.0"
classpath "com.github.ben-manes:gradle-versions-plugin:0.52.0"
classpath(libs.com.gradle.gradle.enterprise.gradle.plugin)
classpath(libs.com.android.tools.build.gradle)
classpath(libs.com.github.ben.manes.gradle.versions.plugin)
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
dependencies {
// Use JUnit Jupiter API for testing.
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.3'
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation 'org.mockito:mockito-core:5.18.0'
testImplementation(libs.org.junit.jupiter.junit.jupiter)
testRuntimeOnly(libs.org.junit.platform.junit.platform.launcher)
testImplementation(libs.org.mockito.mockito.core)

// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
implementation(libs.jakarta.annotation.jakarta.annotation.api)

api project(':components:abstractions')
testImplementation project(':components:serialization:json')
Expand Down
6 changes: 3 additions & 3 deletions components/serialization/text/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ buildscript {
}

dependencies {
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.19.2"
classpath "com.android.tools.build:gradle:8.11.0"
classpath "com.github.ben-manes:gradle-versions-plugin:0.52.0"
classpath(libs.com.gradle.gradle.enterprise.gradle.plugin)
classpath(libs.com.android.tools.build.gradle)
classpath(libs.com.github.ben.manes.gradle.versions.plugin)
}
}

Expand Down
6 changes: 3 additions & 3 deletions components/serialization/text/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
dependencies {
// Use JUnit Jupiter API for testing.
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.3'
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation(libs.org.junit.jupiter.junit.jupiter)
testRuntimeOnly(libs.org.junit.platform.junit.platform.launcher)

// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
implementation(libs.jakarta.annotation.jakarta.annotation.api)

api project(':components:abstractions')
}
26 changes: 26 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[versions]
okhttp = "4.12.0"
opentelemetry = "1.51.0"

[libraries]
com-android-tools-build-gradle = { group = "com.android.tools.build", name = "gradle", version = "8.11.0" }
com-azure-azure-core = { group = "com.azure", name = "azure-core", version = "1.55.5" }
com-github-ben-manes-gradle-versions-plugin = { group = "com.github.ben-manes", name = "gradle-versions-plugin", version = "0.52.0" }
com-google-code-gson-gson = { group = "com.google.code.gson", name = "gson", version = "2.13.1" }
com-gradle-gradle-enterprise-gradle-plugin = { group = "com.gradle", name = "gradle-enterprise-gradle-plugin", version = "3.19.2" }
com-squareup-okhttp3-logging-interceptor = { group = "com.squareup.okhttp3", name = "logging-interceptor", version.ref = "okhttp" }
com-squareup-okhttp3-mockwebserver = { group = "com.squareup.okhttp3", name = "mockwebserver", version.ref = "okhttp" }
com-squareup-okhttp3-okhttp = { group = "com.squareup.okhttp3", name = "okhttp", version.ref = "okhttp" }
io-github-std-uritemplate-std-uritemplate = { group = "io.github.std-uritemplate", name = "std-uritemplate", version = "2.0.0" }
io-opentelemetry-opentelemetry-api = { group = "io.opentelemetry", name = "opentelemetry-api", version.ref = "opentelemetry" }
io-opentelemetry-opentelemetry-context = { group = "io.opentelemetry", name = "opentelemetry-context", version.ref = "opentelemetry" }
jakarta-annotation-jakarta-annotation-api = { group = "jakarta.annotation", name = "jakarta.annotation-api", version = "2.1.1" }
javax-xml-stream-stax-api = { group = "javax.xml.stream", name = "stax-api", version = "1.0-2" }
org-junit-jupiter-junit-jupiter = { group = "org.junit.jupiter", name = "junit-jupiter", version = "5.13.3" }
org-junit-platform-junit-platform-launcher = { group = "org.junit.platform", name = "junit-platform-launcher", version = "1.13.0-M3" }
org-mockito-mockito-core = { group = "org.mockito", name = "mockito-core", version = "5.18.0" }

[plugins]
com-diffplug-spotless = { id = "com.diffplug.spotless", version = "7.1.0" }
com-github-spotbugs = { id = "com.github.spotbugs", version = "6.2.1" }
org-sonarqube = { id = "org.sonarqube", version = "6.2.0.5505" }
Loading