Skip to content

Commit 3c3d37f

Browse files
committed
base 3.0.7
1 parent c72eec8 commit 3c3d37f

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ org.gradle.jvmargs=-Xmx2048m
1616
# https://developer.android.com/topic/libraries/support-library/androidx-rn
1717
android.useAndroidX=true
1818
# Automatically convert third-party libraries to use AndroidX
19-
android.enableJetifier=true
19+
android.enableJetifier=true
20+
android.disableAutomaticComponentCreation=true

lib/build.gradle

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ apply plugin: 'maven-publish'
33
group = 'com.github.ithomasoft'
44

55
android {
6+
7+
publishing {
8+
singleVariant('release') {
9+
withSourcesJar()
10+
withJavadocJar()
11+
}
12+
}
13+
614
compileSdkVersion 32
715

816
defaultConfig {
@@ -31,10 +39,13 @@ dependencies {
3139
}
3240
afterEvaluate {
3341
publishing {
42+
43+
44+
3445
publications {
3546
// Creates a Maven publication called "release".
3647
release(MavenPublication) {
37-
from components.release
48+
from components.getByName('release')
3849
groupId = 'com.github.ithomasoft'
3950
artifactId = 'update'
4051
version = '1.6.1'

lib/src/main/res/values/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<resources>
33

44
<!--对话框的样式-->
5-
<style name="DialogActivity" parent="Theme.AppCompat">
5+
<style name="DialogActivity" parent="Theme.AppCompat.DayNight">
66
<!--对话框背景 -->
77
<item name="android:windowBackground">@android:color/transparent</item>
88
<!--边框 -->

0 commit comments

Comments
 (0)