@@ -3,7 +3,6 @@ plugins {
3
3
id ' kotlin-android'
4
4
id ' maven-publish'
5
5
}
6
- group = " com.github.vgachet"
7
6
8
7
android {
9
8
compileSdkVersion 30
@@ -39,31 +38,10 @@ afterEvaluate {
39
38
publications {
40
39
release(MavenPublication ) {
41
40
from components. release
42
- groupId = ' com.github.vgachet'
43
- artifactId = ' sma_assetmanager'
44
- version = ' 1.0.33'
45
-
46
- // The publication doesn't know about our dependencies, so we have to manually add them to the pom
47
- pom. withXml {
48
- // for dependencies and exclusions
49
- def dependenciesNode = asNode(). appendNode(' dependencies' )
50
- configurations. implementation. allDependencies. withType(ModuleDependency ) { ModuleDependency dp ->
51
- def dependencyNode = dependenciesNode. appendNode(' dependency' )
52
- dependencyNode. appendNode(' groupId' , dp. group)
53
- dependencyNode. appendNode(' artifactId' , dp. name)
54
- dependencyNode. appendNode(' version' , dp. version)
55
41
56
- // for exclusions
57
- if (dp. excludeRules. size() > 0 ) {
58
- def exclusions = dependencyNode. appendNode(' exclusions' )
59
- dp. excludeRules. each { ExcludeRule ex ->
60
- def exclusion = exclusions. appendNode(' exclusion' )
61
- exclusion. appendNode(' groupId' , ex. group)
62
- exclusion. appendNode(' artifactId' , ex. module)
63
- }
64
- }
65
- }
66
- }
42
+ groupId = ' com.github.VGachet'
43
+ artifactId = ' sma_assetmanager'
44
+ version = ' 1.0.34'
67
45
}
68
46
}
69
47
}
0 commit comments