Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
fa83b2fa
authored
Jul 15, 2014
by
Kentaro Takiguchi
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Add jarRelease task
parent
5a888f3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
library/build.gradle
library/build.gradle
View file @
fa83b2fa
...
@@ -36,3 +36,14 @@ android {
...
@@ -36,3 +36,14 @@ android {
dependencies
{
dependencies
{
}
}
android
.
libraryVariants
.
all
{
variant
->
def
name
=
variant
.
buildType
.
name
if
(
name
.
equals
(
com
.
android
.
builder
.
core
.
BuilderConstants
.
DEBUG
))
{
return
;
// Skip debug builds.
}
def
task
=
project
.
tasks
.
create
"jar${name.capitalize()}"
,
Jar
task
.
dependsOn
variant
.
javaCompile
task
.
from
variant
.
javaCompile
.
destinationDir
artifacts
.
add
(
'archives'
,
task
);
}
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