File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ buildscript {
1313 classpath ' com.android.tools.build:gradle:3.6.3'
1414 classpath ' com.github.dcendents:android-maven-gradle-plugin:2.0'
1515 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
16- classpath ' com.github.dcendents:android-maven-gradle-plugin:1.5'
1716 }
1817}
1918ext {
Original file line number Diff line number Diff line change 11plugins {
22 id ' com.android.library'
33 id ' org.jetbrains.kotlin.android'
4+ id ' maven-publish'
45}
56
6- apply plugin : ' com.github.dcendents.android-maven'
7- group= ' com.github.coming-chat'
7+ afterEvaluate {
8+ publishing {
9+ publications {
10+ release(MavenPublication ) {
11+ from components. release
12+ groupId = ' com.comingchat.web3'
13+ artifactId = ' web3'
14+ version = ' 1.0.0'
15+ }
16+ }
17+ }
18+ }
819
920android {
1021 compileSdkVersion 30
@@ -52,29 +63,4 @@ dependencies {
5263
5364 androidTestImplementation ' androidx.test.ext:junit:1.1.3'
5465 androidTestImplementation ' androidx.test.espresso:espresso-core:3.4.0'
55- }
56-
57- task sourcesJar (type : Jar ) {
58- classifier = ' sources'
59- from android. sourceSets. main. java. sourceFiles
60- }
61-
62- task javadoc (type : Javadoc ) {
63- source = android. sourceSets. main. java. sourceFiles
64- classpath + = project. files(android. getBootClasspath(). join(File . pathSeparator))
65- }
66-
67- task javadocJar (type : Jar , dependsOn : javadoc) {
68- classifier = ' javadoc'
69- from javadoc. destinationDir
70- }
71-
72- task classesJar (type : Jar ) {
73- from " $buildDir /intermediates/classes/release"
74- }
75-
76- artifacts {
77- archives classesJar
78- archives javadocJar
79- archives sourcesJar
8066}
You can’t perform that action at this time.
0 commit comments