Skip to content

Commit 3177b59

Browse files
authored
ANDROID-16404 Prepare repository to be public (#17)
1 parent cf581bb commit 3177b59

File tree

13 files changed

+64
-101
lines changed

13 files changed

+64
-101
lines changed

.github/workflows/preintegration.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ concurrency:
99

1010
jobs:
1111
tests:
12-
runs-on: [ self-hosted-org, linux ]
13-
container:
14-
image: docker://docker.tuenti.io/android/novum_android:13
12+
runs-on: [ ubuntu-latest ]
1513
steps:
1614
- name: Checkout repo
1715
uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ on:
44
types: [published]
55
jobs:
66
library:
7-
runs-on: [ self-hosted-org, linux ]
8-
container:
9-
image: docker://docker.tuenti.io/android/novum_android:13
7+
runs-on: [ ubuntu-latest ]
108
steps:
119
- name: Checkout repo
1210
uses: actions/checkout@v4
@@ -18,14 +16,10 @@ jobs:
1816
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}
1917
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
2018
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEYID }}
21-
NEXUS_USER: ${{ secrets.NEXUS_RELEASE_USER }}
22-
NEXUS_PASS: ${{ secrets.NEXUS_RELEASE_PASSWORD }}
2319
run: |
24-
./gradlew publishReleasePublicationToMavenRepository -DLIBRARY_VERSION=${{ github.event.release.tag_name }}
20+
./gradlew publishReleasePublicationToSonatypeRepository -DLIBRARY_VERSION=${{ github.event.release.tag_name }} --max-workers 1 closeAndReleaseStagingRepository
2521
plugin:
26-
runs-on: [ self-hosted-org, linux ]
27-
container:
28-
image: docker://docker.tuenti.io/android/novum_android:13
22+
runs-on: [ ubuntu-latest ]
2923
steps:
3024
- name: Checkout repo
3125
uses: actions/checkout@v4
@@ -34,8 +28,6 @@ jobs:
3428
env:
3529
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
3630
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
37-
NEXUS_USER: ${{ secrets.NEXUS_RELEASE_USER }}
38-
NEXUS_PASS: ${{ secrets.NEXUS_RELEASE_PASSWORD }}
3931
run: |
4032
cd include-build
41-
../gradlew publishGradlePluginPublicationToMavenRepository -DLIBRARY_VERSION=${{ github.event.release.tag_name }}
33+
../gradlew publishPlugins -DLIBRARY_VERSION=${{ github.event.release.tag_name }}

.github/workflows/snapshot.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ on:
77
required: true
88
jobs:
99
library:
10-
runs-on: [ self-hosted-org, linux ]
11-
container:
12-
image: docker://docker.tuenti.io/android/novum_android:13
10+
runs-on: [ ubuntu-latest ]
1311
steps:
1412
- name: Checkout repo
1513
uses: actions/checkout@v4

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright [yyyy] [name of copyright owner]
189+
Copyright [2025] [Telefónica]
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

android-snaptesting/src/main/java/com/telefonica/androidsnaptesting/screenshots/BitmapImage.kt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*Copyright (c) 2022 Dropbox, Inc.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.*/
14+
115
package com.telefonica.androidsnaptesting.screenshots
216

317
import android.graphics.Bitmap

android-snaptesting/src/main/java/com/telefonica/androidsnaptesting/screenshots/ResultValidator.kt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*Copyright (c) 2022 Dropbox, Inc.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.*/
14+
115
package com.telefonica.androidsnaptesting.screenshots
216

317
import com.dropbox.differ.ImageComparator

android-snaptesting/src/main/java/com/telefonica/androidsnaptesting/screenshots/ViewUtils.kt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*Copyright (c) 2022 Pedro Vicente Gómez Sánchez
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.*/
14+
115
package com.telefonica.androidsnaptesting.screenshots
216

317
import android.view.View

android-snaptesting/src/main/java/com/telefonica/androidsnaptesting/screenshots/WriteDiffImage.kt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*Copyright (c) 2022 Dropbox, Inc.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.*/
14+
115
package com.telefonica.androidsnaptesting.screenshots
216

317
import android.graphics.Bitmap

include-build/build.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
plugins {
22
alias(libs.plugins.kotlin.jvm) apply false
33
alias(libs.plugins.detekt)
4-
alias(libs.plugins.publish)
54
}
65

76
allprojects {
@@ -15,5 +14,3 @@ allprojects {
1514
buildUponDefaultConfig = true
1615
}
1716
}
18-
19-
apply("${rootProject.projectDir}/../publish_maven_central.gradle")

include-build/gradle-plugin/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,3 @@ gradlePlugin {
3131
}
3232
}
3333
}
34-
35-
apply("${rootProject.projectDir}/mavencentral.gradle")

0 commit comments

Comments
 (0)