File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed
Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ buildscript {
1414 jcenter()
1515 }
1616 dependencies {
17- classpath ' com.android.tools.build:gradle:3.3 .2'
17+ classpath ' com.android.tools.build:gradle:4.2 .2'
1818 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1919
2020 // NOTE: Do not place your application dependencies here; they belong
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-4.10 .1-all.zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-6.7 .1-all.zip
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
22apply plugin : ' kotlin-android-extensions'
33apply plugin : ' kotlin-android'
4+ apply plugin : ' maven-publish'
45
56android {
67 compileSdkVersion 28
@@ -63,3 +64,20 @@ artifacts {
6364repositories {
6465 mavenCentral()
6566}
67+
68+ afterEvaluate {
69+ publishing {
70+ publications {
71+ // Creates a Maven publication called "release".
72+ release(MavenPublication ) {
73+ // Applies the component for the release build variant.
74+ from components. release
75+
76+ // // You can then customize attributes of the publication as shown below.
77+ // groupId = 'com.github.wzgl5533'
78+ // artifactId = 'CustomViewInstruction'
79+ // version = '1.0.0'
80+ }
81+ }
82+ }
83+ }
You can’t perform that action at this time.
0 commit comments