Skip to content

Commit e00940a

Browse files
authored
Merge pull request #480 from Countly/maven-central-migration
Maven central migration
2 parents 55f6437 + b83b080 commit e00940a

File tree

16 files changed

+26
-24
lines changed

16 files changed

+26
-24
lines changed

app-kotlin/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ plugins {
66
}
77

88
android {
9+
namespace "ly.count.android.demo.kotlin"
910
compileSdkVersion 35
1011

1112
defaultConfig {

app-kotlin/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="ly.count.android.demo.kotlin">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<uses-permission android:name="android.permission.INTERNET"/>
65
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

app-native/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ apply plugin: 'com.android.application'
44
// apply plugin: ly.count.android.plugins.UploadSymbolsPlugin
55

66
android {
7+
namespace "ly.count.android.demo.crash"
78
compileSdkVersion 35
89

910
defaultConfig {

app-native/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="ly.count.android.demo.crash">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
54
<application
65
android:name=".App"

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="ly.count.android.demo">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<uses-permission android:name="android.permission.INTERNET"/>
65
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ buildscript {
1010
mavenCentral()
1111
}
1212
dependencies {
13-
classpath 'com.android.tools.build:gradle:7.4.2'
13+
classpath 'com.android.tools.build:gradle:8.1.4'
1414

1515
classpath 'com.github.dcendents:android-maven-plugin:1.2'
16-
classpath 'com.google.gms:google-services:4.3.15'
16+
classpath 'com.google.gms:google-services:4.4.2'
1717
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1818
classpath 'com.huawei.agconnect:agcp:1.3.1.300'
1919
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.5.3"

gradle.properties

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,19 @@ org.gradle.configureondemand=true
2222
android.useAndroidX=true
2323
android.enableJetifier=true
2424
# RELEASE FIELD SECTION
25-
VERSION_NAME=25.4.0
25+
VERSION_NAME=25.4.1-RC2
2626
GROUP=ly.count.android
2727
POM_URL=https://github.com/Countly/countly-sdk-android
2828
POM_SCM_URL=https://github.com/Countly/countly-sdk-android
2929
POM_LICENCE_NAME=MIT License
3030
POM_LICENCE_URL=http://www.opensource.org/licenses/mit-license.php
3131
POM_LICENCE_DIST=repo
3232
POM_DEVELOPER_NAME=Countly
33-
SONATYPE_HOST=DEFAULT
33+
SONATYPE_HOST=CENTRAL_PORTAL
3434
RELEASE_SIGNING_ENABLED=true
35+
android.defaults.buildfeatures.buildconfig=true
36+
android.nonTransitiveRClass=false
37+
android.nonFinalResIds=false
3538
#SIGNING SECTION
3639
signing.keyId=xxx
3740
signing.password=xxx
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Sun Apr 23 22:46:09 EEST 2023
1+
#Wed May 14 21:37:23 KST 2025
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
43
distributionPath=wrapper/dists
5-
zipStorePath=wrapper/dists
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
65
zipStoreBase=GRADLE_USER_HOME
6+
zipStorePath=wrapper/dists

sdk-native/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ buildscript {
66
mavenCentral()
77
}
88
dependencies {
9-
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.21.0' //for publishing
9+
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.28.0' //for publishing
1010
}
1111
}
1212

1313
android {
14+
namespace 'ly.count.android.sdknative'
1415
compileSdkVersion 35
1516

1617
defaultConfig {
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="ly.count.android.sdknative">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
32

43
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
54
</manifest>

0 commit comments

Comments
 (0)