Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
basic-example
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
davis
basic-example
Commits
ff9dea19
Commit
ff9dea19
authored
6 years ago
by
Emmanuel Godard
Browse files
Options
Downloads
Patches
Plain Diff
cleanup for 0.8
parent
0f2cc3d2
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+0
-1
0 additions, 1 deletion
.gitlab-ci.yml
build.gradle
+6
-13
6 additions, 13 deletions
build.gradle
gradle.properties
+1
-1
1 addition, 1 deletion
gradle.properties
src/scenario
+2
-2
2 additions, 2 deletions
src/scenario
with
9 additions
and
17 deletions
.gitlab-ci.yml
+
0
−
1
View file @
ff9dea19
...
@@ -23,6 +23,5 @@ build:
...
@@ -23,6 +23,5 @@ build:
script
:
script
:
-
./gradlew clean
-
./gradlew clean
-
./gradlew downloadAndUnzipFile
-
./gradlew downloadAndUnzipFile
-
./gradlew installJBotsim
-
./gradlew assemble
-
./gradlew assemble
This diff is collapsed.
Click to expand it.
build.gradle
+
6
−
13
View file @
ff9dea19
...
@@ -9,29 +9,22 @@ apply plugin: "java"
...
@@ -9,29 +9,22 @@ apply plugin: "java"
apply
plugin:
"idea"
apply
plugin:
"idea"
apply
plugin:
"application"
apply
plugin:
"application"
// Install jbotsim locally in davis/lib
task
installJBotsim
(
type:
Copy
,
group:
"distribution"
,
description:
"Install jbotsim locally"
){
dependsOn
installDist
from
'build/install/basic-example/lib/'
include
'jbotsim-*'
into
'davis/lib'
}
// Basic task to launch davis with appropriate arguments :
// Basic task to launch davis with appropriate arguments :
// <network> <id> <size> <algo>
// -n <network> -i <id> -s <size> -al <algo>
task
helloejcim
(
type:
Exec
,
group:
"Application"
,
description:
"Run default Davis"
)
{
task
hello
(
type:
Exec
,
group:
"Application"
,
description:
"Run default Davis"
)
{
commandLine
'davis/bin/udavis'
,
'src/RingAnon2AgentsSym.java'
,
'RandomIds'
,
'18'
,
'src/RandomWalkRing.java'
commandLine
'davis-beta/bin/udavis'
,
'-n'
,
'src/RingAnon2AgentsSym.java'
,
'-i'
,
'RandomIds'
,
'-s'
,
'18'
,
'-al'
,
'src/RandomWalkRing.java'
dependsOn
installJBotsim
}
}
def
davisFiles
=
"${projectDir}/davis/"
def
davisFiles
=
"${projectDir}/davis
-beta
/"
println
(
"${davisFiles}"
)
println
(
"${davisFiles}"
)
repositories
{
repositories
{
jcenter
()
jcenter
()
mavenCentral
()
mavenCentral
()
flatDir
{
flatDir
{
dirs
davisInstall
+
File
.
separator
+
"lib"
dirs
davisInstall
+
File
.
separator
+
"
davis-beta/
lib"
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
gradle.properties
+
1
−
1
View file @
ff9dea19
...
@@ -3,4 +3,4 @@ jbotsimVersion = 1.0.0
...
@@ -3,4 +3,4 @@ jbotsimVersion = 1.0.0
# Define davis version
# Define davis version
davisVersion
=
0.8
davisVersion
=
0.8
# Define davis install directory
# Define davis install directory
davisInstall
=
davis
davisInstall
=
build/install
This diff is collapsed.
Click to expand it.
src/scenario
+
2
−
2
View file @
ff9dea19
RandomWalkRing RingAnon2AgentsSym.java RandomIds
18
RandomWalkRing.java
[
RandomWalkRing
2agents] -n
RingAnon2AgentsSym.java
-i
RandomIds
-s 16 -al
RandomWalkRing.java
RandomWalkPath RectangularTwoAgents.java RandomIds 18*1 RandomWalkPath.java
[
RandomWalkPath
] -n
RectangularTwoAgents.java
-i
RandomIds
-s
18*1
-al
RandomWalkPath.java
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