Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
YoshikoWrapper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Philipp Spohr
YoshikoWrapper
Commits
4396b6c4
Commit
4396b6c4
authored
Jul 28, 2017
by
Philipp Spohr
Browse files
Options
Downloads
Patches
Plain Diff
Assuming Lemon/CPLEX are installed, Gradle now fetches and compiles yoshiko
parent
5da13900
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+0
-6
0 additions, 6 deletions
.gitignore
build.gradle
+13
-9
13 additions, 9 deletions
build.gradle
with
13 additions
and
15 deletions
.gitignore
+
0
−
6
View file @
4396b6c4
...
@@ -13,9 +13,3 @@ gradle/wrapper/gradle-wrapper.properties
...
@@ -13,9 +13,3 @@ gradle/wrapper/gradle-wrapper.properties
/.settings/org.eclipse.buildship.core.prefs
/.settings/org.eclipse.buildship.core.prefs
/.settings/org.eclipse.jdt.core.prefs
/.settings/org.eclipse.jdt.core.prefs
/bin/de
/bin/de
/CMakeCache.txt
/Makefile
/cmake_install.cmake
# CMAKE
/CMakeFiles
This diff is collapsed.
Click to expand it.
build.gradle
+
13
−
9
View file @
4396b6c4
...
@@ -24,36 +24,40 @@ Clone task to fetch the required C++ code from the yoshiko repository
...
@@ -24,36 +24,40 @@ Clone task to fetch the required C++ code from the yoshiko repository
*/
*/
task
cloneYoshikoCode
{
task
cloneYoshikoCode
{
description
=
'Fetches the Yoshiko Source from the github repository for further processing'
description
=
'Fetches the Yoshiko Source from the github repository for further processing'
doLast
{
doLast
{
if
(!(
file
(
yoshikoDir
).
exists
())){
if
(!(
file
(
yoshikoDir
).
exists
())){
logger
.
info
(
"Yoshiko source files don't exist yet, cloning ..."
)
logger
.
info
(
"Yoshiko source files don't exist yet, cloning ..."
)
org
.
ajoberstar
.
grgit
.
Grgit
.
clone
(
dir:
file
(
yoshikoDir
),
uri:
'https://github.com/spqrPh/yoshiko'
)
org
.
ajoberstar
.
grgit
.
Grgit
.
clone
(
dir:
file
(
yoshikoDir
),
uri:
'https://github.com/spqrPh/yoshiko'
)
//TODO: Always checkout a version that is tagged as "stable"
mkdir
yoshikoDir
+
"/build"
}
}
}
}
}
}
task
launchCMake
(
type:
Exec
,
group:
"init"
)
{
task
launchCMake
(
type:
Exec
,
group:
"init"
)
{
logger
.
info
(
"Executing CMAKE in directory:"
+
workingDir
)
workingDir
yoshikoDir
+
"/build"
executable
=
"cmake"
executable
=
"cmake"
args
yoshikoDir
args
".."
}
}
compileCpp
.
dependsOn
launchCMake
cpp
{
cpp
{
applicationType
=
"clibrary"
applicationType
=
"clibrary"
buildTasksEnabled
=
false
exec
.
with
{
exec
.
with
{
execPath
=
"echo
"
execPath
=
yoshikoDir
+
"/build
"
compileCppExecPath
=
"make"
compileCppExecPath
=
"make"
compileCppBaseArgs
=
"
..
"
compileCppBaseArgs
=
""
compileCppExecWorkingDir
=
"
build"
compileCppExecWorkingDir
=
yoshikoDir
+
"/
build"
}
}
}
}
compileJava
.
dependsOn
(
cloneYoshikoCode
)
//Task-Chain
launchCMake
.
dependsOn
cloneYoshikoCode
compileCpp
.
dependsOn
launchCMake
compileJava
.
dependsOn
compileCpp
repositories
{
repositories
{
maven
{
url
"http://code.cytoscape.org/nexus/content/repositories/snapshots/"
}
maven
{
url
"http://code.cytoscape.org/nexus/content/repositories/snapshots/"
}
...
...
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