File tree Expand file tree Collapse file tree 4 files changed +9
-11
lines changed
Expand file tree Collapse file tree 4 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ allprojects {
1919 }
2020}
2121
22- task clean ( type : Delete ) {
22+ tasks . register( ' clean ' , Delete ) {
2323 delete rootProject. buildDir
2424}
Original file line number Diff line number Diff line change @@ -26,41 +26,40 @@ android {
2626 }
2727}
2828
29- /*
3029project. afterEvaluate {
3130 publishing {
3231 publications {
3332 aar(MavenPublication ) {
3433 groupId = ' com.github.Tunous'
3534 artifactId = ' SwipeActionView'
36- version = '1.4 .0-SNAPSHOT'
35+ version = ' 1.5 .0-SNAPSHOT'
3736
3837 artifact bundleReleaseAar
3938 artifact sourcesJar
4039 artifact javadocJar
4140 }
4241 }
4342 }
44- }*/
43+ }
4544
4645dependencies {
4746 implementation ' androidx.appcompat:appcompat:1.6.1'
4847 implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
4948}
5049
51-
52- task sourcesJar (type : Jar ) {
50+ tasks. register(' sourcesJar' , Jar ) {
5351 from android. sourceSets. main. java. srcDirs
5452 archiveClassifier = ' sources'
5553}
5654
57- task javadoc ( type : Javadoc ) {
55+ tasks . register( ' javadoc ' , Javadoc ) {
5856 failOnError false
5957 source = android. sourceSets. main. java. sourceFiles
6058 classpath + = project. files(android. getBootClasspath(). join(File . pathSeparator))
6159}
6260
63- task javadocJar (type : Jar , dependsOn : javadoc) {
61+ tasks. register(' javadocJar' , Jar ) {
62+ dependsOn javadoc
6463 archiveClassifier = ' javadoc'
6564 from javadoc. destinationDir
6665}
Original file line number Diff line number Diff line change 11plugins {
22 id ' com.android.application'
33 id ' kotlin-android'
4- // id 'maven-publish'
54}
65
76
You can’t perform that action at this time.
0 commit comments