File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ dependencies {
3737 testImplementation ' junit:junit:4.12'
3838 androidTestImplementation ' com.android.support.test:runner:1.0.2'
3939 androidTestImplementation ' com.android.support.test.espresso:espresso-core:3.0.2'
40- // implementation 'com.noober.background:core:1.6.5'
41- implementation ' com.github.JavaNoober:BackgroundLibrary:core:v1.5.7 '
42- // implementation project(':library')
40+ implementation ' com.noober.background:core:1.6.5'
41+ // implementation 'com.github.JavaNoober:BackgroundLibrary:1.6.6 '
42+ implementation project(' :library' )
4343 implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
4444}
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ buildscript {
1010 }
1111 dependencies {
1212 classpath ' com.android.tools.build:gradle:3.3.1'
13+ classpath ' com.github.dcendents:android-maven-gradle-plugin:2.1'
1314// classpath 'com.novoda:bintray-release:0.8.1'
1415 // NOTE: Do not place your application dependencies here; they belong
1516 // in the individual module build.gradle files
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
22// apply plugin: 'bintray-release'
3+ apply plugin : ' com.github.dcendents.android-maven'
4+
5+ group= ' com.noober.background'
36
47android {
58 compileSdkVersion 29
@@ -47,4 +50,29 @@ dependencies {
4750// }
4851repositories {
4952 mavenCentral()
53+ }
54+
55+ task sourcesJar (type : Jar ) {
56+ classifier = ' sources'
57+ from android. sourceSets. main. java. sourceFiles
58+ }
59+
60+ task javadoc (type : Javadoc ) {
61+ source = android. sourceSets. main. java. sourceFiles
62+ classpath + = project. files(android. getBootClasspath(). join(File . pathSeparator))
63+ }
64+
65+ task javadocJar (type : Jar , dependsOn : javadoc) {
66+ classifier = ' javadoc'
67+ from javadoc. destinationDir
68+ }
69+
70+ task classesJar (type : Jar ) {
71+ from " $buildDir /intermediates/classes/release"
72+ }
73+
74+ artifacts {
75+ archives classesJar
76+ archives javadocJar
77+ archives sourcesJar
5078}
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
22// apply plugin: 'bintray-release'
3+ apply plugin : ' com.github.dcendents.android-maven'
4+
5+ group= ' com.noober.background'
36
47android {
58 compileSdkVersion 29
@@ -47,4 +50,29 @@ dependencies {
4750// }
4851repositories {
4952 mavenCentral()
53+ }
54+
55+ task sourcesJar (type : Jar ) {
56+ classifier = ' sources'
57+ from android. sourceSets. main. java. sourceFiles
58+ }
59+
60+ task javadoc (type : Javadoc ) {
61+ source = android. sourceSets. main. java. sourceFiles
62+ classpath + = project. files(android. getBootClasspath(). join(File . pathSeparator))
63+ }
64+
65+ task javadocJar (type : Jar , dependsOn : javadoc) {
66+ classifier = ' javadoc'
67+ from javadoc. destinationDir
68+ }
69+
70+ task classesJar (type : Jar ) {
71+ from " $buildDir /intermediates/classes/release"
72+ }
73+
74+ artifacts {
75+ archives classesJar
76+ archives javadocJar
77+ archives sourcesJar
5078}
You can’t perform that action at this time.
0 commit comments