Skip to content

Commit 7963405

Browse files
committed
Remove publish warning
w: ⚠️ Android Publication 'release' Misconfigured for Variant 'release' Android Publication 'release' for variant 'release' was not configured properly: To avoid this warning, please create and configure Android publication variant with name 'release'. Example: android { publishing { singleVariant("release") {} } } Solution: Please configure Android publication 'release' for variant 'release'. See https://kotl.in/oe70nr for more details.
1 parent dafabea commit 7963405

4 files changed

Lines changed: 12 additions & 3 deletions

File tree

LogcatCoreLib/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ android {
2020
buildFeatures {
2121
buildConfig true
2222
}
23+
publishing {
24+
singleVariant("release") {}
25+
}
2326
}
2427

2528
dependencies {

LogcatCoreUI/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ android {
2121
sourceCompatibility JavaVersion.VERSION_17
2222
targetCompatibility JavaVersion.VERSION_17
2323
}
24-
24+
publishing {
25+
singleVariant("release") {}
26+
}
2527
}
2628

2729
dependencies {

LogcatCountlyLib/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ android {
1515
sourceCompatibility JavaVersion.VERSION_17
1616
targetCompatibility JavaVersion.VERSION_17
1717
}
18-
18+
publishing {
19+
singleVariant("release") {}
20+
}
1921
}
2022

2123
dependencies {

LogcatCrashlyticLib/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ android {
1616
sourceCompatibility JavaVersion.VERSION_17
1717
targetCompatibility JavaVersion.VERSION_17
1818
}
19-
19+
publishing {
20+
singleVariant("release") {}
21+
}
2022
}
2123

2224
dependencies {

0 commit comments

Comments
 (0)