File tree Expand file tree Collapse file tree 5 files changed +20
-12
lines changed Expand file tree Collapse file tree 5 files changed +20
-12
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,20 @@ jobs:
27
27
distribution : ' zulu'
28
28
java-version : 17
29
29
30
+ - name : Setup Android
31
+ uses : android-actions/setup-android@v3
32
+
33
+ - name : Install CMake 3.18.1
34
+ run : yes | sdkmanager "cmake;3.18.1"
35
+
30
36
- name : Setup gradle
31
- uses : gradle/gradle-build-action@v2
37
+ uses : gradle/actions/setup-gradle@v4
38
+
32
39
- name : Upload Artifacts
33
40
run : cd ./android;./gradlew clean publish --stacktrace
34
41
env :
35
- ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.SONATYPE_NEXUS_USERNAME }}
36
- ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
42
+ ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.CENTRAL_PORTAL_USERNAME }}
43
+ ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.CENTRAL_PORTAL_PASSWORD }}
37
44
ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.ARTIFACT_SIGNING_PRIVATE_KEY }}
38
45
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.ARTIFACT_SIGNING_KEY_PASSWORD }}
39
46
ORG_GRADLE_PROJECT_signingInMemoryKeyId : ${{ secrets.ARTIFACT_SIGNING_KEY_ID }}
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id ' com.android.library'
3
3
id ' org.jetbrains.kotlin.android'
4
- id " com.vanniktech.maven.publish" version " 0.23.1 "
4
+ id " com.vanniktech.maven.publish" version " 0.33.0 "
5
5
}
6
6
7
7
// apply plugin: 'maven-publish'
@@ -13,8 +13,8 @@ def getVersionName = { ->
13
13
import com.vanniktech.maven.publish.SonatypeHost
14
14
15
15
mavenPublishing {
16
- // publishing to https://s01.oss.sonatype.org
17
- publishToMavenCentral(SonatypeHost . S01 , true )
16
+ // publishing to Central portal
17
+ publishToMavenCentral()
18
18
19
19
signAllPublications()
20
20
Original file line number Diff line number Diff line change 1
1
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2
2
plugins {
3
- id ' com.android.library' version ' 7.2.0 ' apply false
3
+ id ' com.android.library' version ' 8.0.2 ' apply false
4
4
id ' org.jetbrains.kotlin.android' version ' 1.7.20' apply false
5
5
}
6
6
7
7
task clean (type : Delete ) {
8
8
delete rootProject. buildDir
9
- }
9
+ }
Original file line number Diff line number Diff line change 17
17
# Thu Dec 15 14:34:25 WET 2022
18
18
distributionBase =GRADLE_USER_HOME
19
19
distributionPath =wrapper/dists
20
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.3.3 -bin.zip
20
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.10.2 -bin.zip
21
21
zipStoreBase =GRADLE_USER_HOME
22
22
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id ' com.android.library'
3
3
id ' org.jetbrains.kotlin.android'
4
- id " com.vanniktech.maven.publish" version " 0.23.1 "
4
+ id " com.vanniktech.maven.publish" version " 0.33.0 "
5
5
}
6
6
7
7
// apply plugin: 'maven-publish'
@@ -15,8 +15,8 @@ def getVersionName = { ->
15
15
import com.vanniktech.maven.publish.SonatypeHost
16
16
17
17
mavenPublishing {
18
- // publishing to https://s01.oss.sonatype.org
19
- publishToMavenCentral(SonatypeHost . S01 , true )
18
+ // publishing to Central Portal
19
+ publishToMavenCentral()
20
20
21
21
signAllPublications()
22
22
@@ -50,6 +50,7 @@ mavenPublishing {
50
50
}
51
51
52
52
android {
53
+ namespace " com.duckduckgo.mobile.netguard"
53
54
compileSdk 32
54
55
ndkVersion " 21.4.7075529"
55
56
You can’t perform that action at this time.
0 commit comments