File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
2
apply plugin : ' kotlin-android'
3
- apply plugin : ' maven'
4
3
5
4
buildscript {
6
5
// Simple helper that allows the root project to override versions declared by this library.
@@ -17,31 +16,6 @@ buildscript {
17
16
}
18
17
}
19
18
20
- // Upload android library to maven with javadoc and android sources
21
- configurations {
22
- deployerJars
23
- }
24
-
25
- // Creating sources with comments
26
- task androidSourcesJar (type : Jar ) {
27
- classifier = ' sources'
28
- from android. sourceSets. main. java. srcDirs
29
- }
30
-
31
- // Put the androidSources and javadoc to the artifacts
32
- artifacts {
33
- archives androidSourcesJar
34
- }
35
-
36
- uploadArchives {
37
- repositories {
38
- mavenDeployer {
39
- configuration = configurations. deployerJars
40
- repository(url : mavenLocal(). url)
41
- }
42
- }
43
- }
44
-
45
19
android {
46
20
compileSdkVersion safeExtGet(" compileSdkVersion" , 30 )
47
21
You can’t perform that action at this time.
0 commit comments