Skip to content

Commit

Permalink
Should fix source being unreachable when importing the lib. Closes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Willena committed Jan 4, 2021
1 parent e26a050 commit ed30536
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion phoneinputview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ dependencies {
})
api 'androidx.appcompat:appcompat:1.2.0'
api 'com.google.android.material:material:1.2.1'
api 'com.googlecode.libphonenumber:libphonenumber:8.3.1'
api 'com.googlecode.libphonenumber:libphonenumber:8.12.15'
testImplementation 'junit:junit:4.12'
}


// build a jar with source files
task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier = 'sources'
}

task javadoc(type: Javadoc) {
Expand All @@ -43,6 +44,7 @@ task javadoc(type: Javadoc) {
// build a jar with javadoc
task javadocJar(type: Jar, dependsOn: javadoc) {
from javadoc.destinationDir
classifier = 'javadoc'
}

artifacts {
Expand Down

0 comments on commit ed30536

Please sign in to comment.