Skip to content

Commit c63d929

Browse files
authored
Merge pull request #1951 from microsoft/ci/ado-esrp-migration
ci/ado esrp migration
2 parents ee2548e + 2204ba7 commit c63d929

File tree

24 files changed

+260
-441
lines changed

24 files changed

+260
-441
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 182 additions & 53 deletions
Large diffs are not rendered by default.

.github/workflows/build.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ jobs:
1818
java-version: 21
1919
distribution: 'temurin'
2020
cache: gradle
21-
- name: Detect secrets
22-
run: |
23-
pip install detect-secrets
24-
git ls-files -z | xargs -0 detect-secrets-hook --baseline .secrets.baseline
2521
- name: Build with Gradle
2622
run: ./gradlew --no-daemon build -Pjava8=true
2723
- name: Upload Unit Test Results

.github/workflows/release.yml

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

.secrets.baseline

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

build.gradle

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ plugins {
33
id "org.sonarqube" version "6.2.0.5505"
44
id 'com.github.spotbugs' version '6.2.0'
55
id "com.diffplug.spotless" version "7.0.4"
6-
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
76
}
87

98
sonar {
@@ -23,18 +22,5 @@ repositories {
2322
mavenCentral()
2423
}
2524

26-
nexusPublishing {
27-
repositories {
28-
sonatype {
29-
if (project.rootProject.file('local.properties').exists()) {
30-
Properties properties = new Properties()
31-
properties.load(project.rootProject.file('local.properties').newDataInputStream())
32-
username = properties.getProperty('sonatypeUsername')
33-
password = properties.getProperty('sonatypePassword')
34-
}
35-
}
36-
}
37-
}
38-
3925
group = project.property('mavenGroupId')
4026
version = "${mavenMajorVersion}.${mavenMinorVersion}.${mavenPatchVersion}${mavenCentralSnapshotArtifactSuffix}"

components/abstractions/android/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ buildscript {
55
maven {
66
url "https://plugins.gradle.org/m2/"
77
}
8-
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
98
}
109

1110
dependencies {

components/abstractions/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ publishing {
102102
}
103103
}
104104
}
105+
repositories {
106+
maven {
107+
name = "ADO"
108+
url = layout.buildDirectory.dir("publishing-repository")
109+
}
110+
}
105111
}
106112

107113
signing {

0 commit comments

Comments
 (0)