File tree Expand file tree Collapse file tree 3 files changed +17
-4
lines changed
Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 22apply from : ' dependencies.gradle'
33
44buildscript {
5- ext. kotlin_version = ' 1.3.31 '
5+ ext. kotlin_version = ' 1.3.40 '
66 repositories {
77 google()
88 jcenter()
Original file line number Diff line number Diff line change @@ -44,6 +44,16 @@ publishing {
4444 groupId libGroupId
4545 artifactId libArtifactId
4646 version libVersion
47+
48+ pom. withXml {
49+ def dependenciesNode = asNode(). appendNode(' dependencies' )
50+ // Add KotlinStdlib
51+ def kotlinStdlibDepNode = dependenciesNode. appendNode(' dependency' )
52+ kotlinStdlibDepNode. appendNode(' groupId' , kotlinStdlibGroupId)
53+ kotlinStdlibDepNode. appendNode(' artifactId' , kotlinStdlibArtifactId)
54+ kotlinStdlibDepNode. appendNode(' version' , kotlinStdlibVersion)
55+ }
56+
4757 artifact(sourceJar)
4858 artifact(" $buildDir /outputs/aar/$libArtifactId -release.aar" )
4959 }
Original file line number Diff line number Diff line change @@ -7,16 +7,19 @@ allprojects {
77
88ext {
99 // APP VERSION
10- androidVersionCode = 13
11- androidVersionName = " 4.0.0 "
10+ androidVersionCode = 14
11+ androidVersionName = " 4.0.1 "
1212
1313 // ANDROID VERSION
1414 androidCompileSdkVersion = 28
1515 androidMinSdkVersion = 14
1616 androidTargetSdkVersion = 28
1717
1818 // KOTLIN
19- kotlinStdlib = " org.jetbrains.kotlin:kotlin-stdlib:${ ext.kotlin_version} "
19+ kotlinStdlibGroupId = " org.jetbrains.kotlin"
20+ kotlinStdlibArtifactId = " kotlin-stdlib"
21+ kotlinStdlibVersion = ext. kotlin_version
22+ kotlinStdlib = " $kotlinStdlibGroupId :$kotlinStdlibArtifactId :$kotlinStdlibVersion "
2023
2124 // ANDROID LIB
2225 androidAppCompatXVersion = ' 1.0.2'
You can’t perform that action at this time.
0 commit comments