File tree Expand file tree Collapse file tree 6 files changed +37
-2
lines changed
Expand file tree Collapse file tree 6 files changed +37
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Just add Switcher view in your layout XML and Switcher library in your project v
2424
2525``` gradle
2626dependencies {
27- implementation 'com. bitvale:switcher:1.1.1 '
27+ implementation 'io.github. bitvale:switcher:1.1.2 '
2828}
2929```
3030
@@ -64,4 +64,4 @@ switcher.setOnCheckedChangeListener { checked ->
6464LICENCE
6565-----
6666
67- Switcher by [ Alexander Kolpakov] ( https://play.google.com/store/apps/dev?id=7044571013168957413 ) is licensed under an [ Apache License 2.0] ( http://www.apache.org/licenses/LICENSE-2.0 ) .
67+ Switcher by [ Alexander Kolpakov] ( https://play.google.com/store/apps/dev?id=7044571013168957413 ) is licensed under an [ Apache License 2.0] ( http://www.apache.org/licenses/LICENSE-2.0 ) .
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ plugins {
44 id(GradlePluginId .ANDROID_APPLICATION ) apply false
55 id(GradlePluginId .KOTLIN_ANDROID ) apply false
66 id(GradlePluginId .COMMON_CONFIG_PLUGIN ) apply false
7+ id(GradlePluginId .MAVEN_PUBLISH_PLUGIN ) apply false
78}
89
910allprojects {
Original file line number Diff line number Diff line change @@ -3,4 +3,5 @@ object GradlePluginId {
33 const val ANDROID_LIBRARY = " com.android.library"
44 const val KOTLIN_ANDROID = " org.jetbrains.kotlin.android"
55 const val COMMON_CONFIG_PLUGIN = " common-config-plugin"
6+ const val MAVEN_PUBLISH_PLUGIN = " com.vanniktech.maven.publish"
67}
Original file line number Diff line number Diff line change 88# The setting is particularly useful for tweaking memory settings.
99org.gradle.jvmargs =-Xmx1536m
1010android.useAndroidX =true
11+ org.gradle.daemon =false
1112# -------Versions-------
1213kotlinVersion =1.5.31
1314agpVersion =7.0.4
15+ gradleMavenPublishVersion =0.18.0
1416# ----------------------
1517appcompatVersion =1.2.0
1618coreKtxVersion =1.7.0
1719constraintlayoutVersion =2.0.4
20+
21+
22+ GROUP =io.github.bitvale
23+ POM_ARTIFACT_ID =switcher
24+ VERSION_NAME =1.1.2
25+
26+ POM_NAME =Switcher
27+ POM_DESCRIPTION =Android switchers
28+ POM_INCEPTION_YEAR =2022
29+ POM_URL =https://github.com/bitvale/Switcher/
30+
31+ POM_LICENSE_NAME =The Apache Software License, Version 2.0
32+ POM_LICENSE_URL =https://www.apache.org/licenses/LICENSE-2.0.txt
33+ POM_LICENSE_DIST =repo
34+
35+ POM_SCM_URL =https://github.com/bitvale/Switcher/
36+ POM_SCM_CONNECTION =scm:git:git://github.com/bitvale/Switcher.git
37+ POM_SCM_DEV_CONNECTION =scm:git:ssh://git@github.com/bitvale/Switcher.git
38+
39+ POM_DEVELOPER_ID =bitvale
40+ POM_DEVELOPER_NAME =Alexander Kolpakov
41+ POM_DEVELOPER_URL =https://github.com/bitvale/
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ plugins {
22 id(GradlePluginId .ANDROID_LIBRARY )
33 id(GradlePluginId .KOTLIN_ANDROID )
44 id(GradlePluginId .COMMON_CONFIG_PLUGIN )
5+ id(GradlePluginId .MAVEN_PUBLISH_PLUGIN )
56}
67
78dependencies {
Original file line number Diff line number Diff line change @@ -16,13 +16,16 @@ pluginManagement {
1616
1717 val agpVersion: String by settings
1818 val kotlinVersion: String by settings
19+ val gradleMavenPublishVersion: String by settings
1920
2021 plugins {
2122 id(" com.android.application" ) version agpVersion
2223 id(" com.android.library" ) version agpVersion
2324
2425 id(" org.jetbrains.kotlin.jvm" ) version kotlinVersion
2526 id(" org.jetbrains.kotlin.android" ) version kotlinVersion
27+
28+ id(" com.vanniktech.maven.publish" ) version gradleMavenPublishVersion
2629 }
2730
2831 resolutionStrategy {
@@ -32,6 +35,11 @@ pluginManagement {
3235 " com.android.library" -> {
3336 useModule(" com.android.tools.build:gradle:$agpVersion " )
3437 }
38+ " com.vanniktech.maven.publish" -> {
39+ useModule(
40+ " com.vanniktech:gradle-maven-publish-plugin:$gradleMavenPublishVersion "
41+ )
42+ }
3543 }
3644 }
3745 }
You can’t perform that action at this time.
0 commit comments