Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Source
JCenter
Commits
e3e6e747
Commit
e3e6e747
authored
May 08, 2018
by
Shendy Aditya Syamsudin
Browse files
Add Exception Javadoc
parent
607ed2ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
bintrayv1.gradle
View file @
e3e6e747
...
...
@@ -4,15 +4,24 @@ version = libraryVersion
if
(
project
.
hasProperty
(
"android"
))
{
// Android libraries
task
sourcesJar
(
type:
Jar
)
{
classifier
=
'sources'
from
android
.
sourceSets
.
main
.
java
.
srcDirs
from
android
.
sourceSets
.
main
.
java
.
srcDirs
classifier
=
'sources'
}
task
javadoc
(
type:
Javadoc
)
{
options
.
encoding
=
"utf-8"
source
=
android
.
sourceSets
.
main
.
java
.
srcDirs
classpath
+=
project
.
files
(
configurations
.
compile
.
files
,
android
.
getBootClasspath
().
join
(
File
.
pathSeparator
))
options
{
links
"http://docs.oracle.com/javase/7/docs/api/"
linksOffline
"http://d.android.com/reference"
,
"${android.sdkDirectory}/docs/reference"
}
exclude
'**/BuildConfig.java'
exclude
'**/R.java'
}
task
javadoc
(
type:
Javadoc
)
{
source
=
android
.
sourceSets
.
main
.
java
.
srcDirs
classpath
+=
project
.
files
(
android
.
getBootClasspath
().
join
(
File
.
pathSeparator
))
failOnError
false
}
}
else
{
// Java libraries
task
sourcesJar
(
type:
Jar
,
dependsOn:
classes
)
{
classifier
=
'sources'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment