Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SLIC - SuperPixels
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bioimage Analysis
SLIC - SuperPixels
Commits
8a79d10d
Commit
8a79d10d
authored
6 years ago
by
Daniel Felipe González Obando
Browse files
Options
Downloads
Patches
Plain Diff
edited to include class files on source jar
parent
2e602803
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SLIC/build.gradle
+13
-4
13 additions, 4 deletions
SLIC/build.gradle
with
13 additions
and
4 deletions
SLIC/build.gradle
+
13
−
4
View file @
8a79d10d
...
@@ -4,13 +4,20 @@ apply plugin: 'eclipse'
...
@@ -4,13 +4,20 @@ apply plugin: 'eclipse'
version
=
'0.1.0'
version
=
'0.1.0'
println
project
.
name
println
project
.
name
configurations
{
extraLibs
// configuration that holds jars to include in the jar
}
repositories
{
repositories
{
mavenCentral
()
mavenCentral
()
jcenter
()
jcenter
()
}
}
println
"ICY_HOME=${System.env.ICY_HOME}"
dependencies
{
dependencies
{
compile
'org.slf4j:slf4j-api:1.7.21'
extraLibs
'org.slf4j:slf4j-api:1.7.21'
configurations
.
implementation
.
extendsFrom
(
configurations
.
extraLibs
)
compile
files
(
"${System.env.ICY_HOME}/icy.jar"
)
// Icy core
compile
files
(
"${System.env.ICY_HOME}/icy.jar"
)
// Icy core
compile
files
(
"${System.env.ICY_HOME}/lib/bioformats.jar"
)
// bioformats
compile
files
(
"${System.env.ICY_HOME}/lib/bioformats.jar"
)
// bioformats
...
@@ -43,9 +50,11 @@ eclipse {
...
@@ -43,9 +50,11 @@ eclipse {
}
}
}
}
task
sourcesJar
(
type:
Jar
,
dependsOn:
classes
)
{
task
sourcesJar
(
type:
Jar
)
{
classifier
=
'sources'
classifier
=
'sources'
from
sourceSets
.
main
.
allSource
from
sourceSets
.
main
.
output
from
sourceSets
.
main
.
java
from
configurations
.
extraLibs
.
collect
{
it
.
isDirectory
()
?
it
:
zipTree
(
it
)
}
}
}
task
javadocJar
(
type:
Jar
,
dependsOn:
javadoc
)
{
task
javadocJar
(
type:
Jar
,
dependsOn:
javadoc
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment