Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
1a01e48
Added CLASS as key in population MiniBox in PottsSeries.java (#11)
Jannetty Jul 22, 2024
f15f446
Make necessary PottsCell fields public, prepare for abstract setModul…
Jannetty Jul 23, 2024
1c6b1bb
Make PottsCell Abstract Class (#13)
Jannetty Jul 30, 2024
38a1eea
Add Offset, Direction, and Split Probability Support to PottsLocation…
Jannetty Sep 25, 2024
3dc4f59
Remove apoptosis checkpoint for potts cells (#18)
jessicasyu Oct 2, 2024
b935e03
Add support for initialization by percentage (#53)
jessicasyu Oct 11, 2024
2f75d83
add custom plane splitvoxels (#46)
Jannetty Oct 11, 2024
9b6a98e
replace instance of wildcard import of Module to prevent clash in Jav…
cainja Oct 15, 2024
9dc5b07
Remove unnecessary mocking in potts cell stem tests (#57)
jessicasyu Oct 16, 2024
73f1116
Add patch cell agent with random state rules (#56)
jessicasyu Oct 16, 2024
beb6612
Change source compatibility from 1.8 to 1.11 (#66)
jessicasyu Oct 16, 2024
f5c0bac
Migrate to JUnit 5 (#67)
jessicasyu Oct 16, 2024
78c240b
Add spotless autoformatter (#68)
jessicasyu Oct 16, 2024
7438d84
Unit tests for core utilities Colors class (#63)
cainja Oct 17, 2024
f22ad45
Adding tests for core utilities Solver class (#69)
cainja Oct 18, 2024
8b7bb6f
Improved tests for core utilities Color class (#73)
cainja Oct 22, 2024
74fff95
Adding tests for core utilities Graph class (#64)
cainja Oct 22, 2024
933d9ab
Adding tests for core utilities Parameter class (#71)
cainja Oct 22, 2024
2abc26a
Update cell make method to return container (#74)
jessicasyu Oct 24, 2024
da9c929
Add support for different patch initialization schemes (#81)
jessicasyu Oct 24, 2024
bf94833
Update cell constructors to use container (#75)
jessicasyu Oct 24, 2024
87cbd44
Add support for linked populations in setup file (#76)
jessicasyu Oct 25, 2024
35b491f
Refactor plane constructor to take Double3D instead of Int3D (#83)
Jannetty Oct 31, 2024
72e83cd
Add support for parameter distributions (#85)
jessicasyu Nov 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/config/checks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<property name="maximum" value="0" />
<property name="message" value="Javadoc has trailing spaces." />
</module>

<module name="TreeWalker">
<!-- Checks for Javadoc comments -->
<module name="InvalidJavadocPosition" />
Expand Down Expand Up @@ -122,7 +122,15 @@
<module name="ParenPad" />
<module name="TypecastParenPad" />
<module name="WhitespaceAfter" />
<module name="WhitespaceAround" />
<module name="WhitespaceAround">
<property name="allowEmptyConstructors" value="true"/>
<property name="allowEmptyLambdas" value="true"/>
<property name="allowEmptyMethods" value="true"/>
<property name="allowEmptyTypes" value="true"/>
<property name="allowEmptyLoops" value="true"/>
<property name="allowEmptyCatches" value="true"/>
<property name="ignoreEnhancedForColon" value="false"/>
</module>

<!-- Checks for modifiers -->
<module name="ModifierOrder" />
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
- name: Checkout the repo
uses: actions/checkout@v4

- name: Set up JDK 1.8
- name: Set up JDK 1.11
uses: actions/setup-java@v3
with:
java-version: '8'
java-version: '11'
distribution: 'corretto'

- name: Validate Gradle wrapper
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- name: Checkout the repo
uses: actions/checkout@v4

- name: Set up JDK 1.8
- name: Set up JDK 1.11
uses: actions/setup-java@v3
with:
java-version: '8'
java-version: '11'
distribution: 'corretto'

- name: Validate Gradle wrapper
Expand Down
32 changes: 28 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ plugins {
id "java"
id "jacoco"
id "com.palantir.git-version" version "3.0.0"
id "com.diffplug.spotless" version "6.25.0"
}

version = "3.1.4"
sourceCompatibility = 1.8
sourceCompatibility = 1.11

repositories {
mavenCentral()
Expand All @@ -28,12 +29,17 @@ dependencies {
implementation "com.formdev:flatlaf:0.36"
implementation "com.google.code.gson:gson:2.8.6"
runtimeOnly group: "javax.media", name: "jmf", version: "2.1.1e"
testImplementation "org.mockito:mockito-core:2.23.+"
testImplementation "org.mockito:mockito-inline:2.23.+"
testImplementation "junit:junit:4.12"
testImplementation "org.mockito:mockito-core:5.14.+"
testImplementation "org.mockito:mockito-inline:5.2.+"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.11.2"
testImplementation "org.junit.jupiter:junit-jupiter-engine:5.11.2"
testImplementation "commons-io:commons-io:2.8.0"
}

test {
useJUnitPlatform()
}

javadoc {
source = sourceSets.main.allJava
classpath = configurations.compileClasspath
Expand Down Expand Up @@ -61,6 +67,24 @@ jacocoTestReport {
}
}

spotless {
java {
removeUnusedImports()
googleJavaFormat().aosp()
.reorderImports(true)
.formatJavadoc(true)
importOrder('java|javax|org|com||sim|ec|arcade.core|arcade|\\#java|\\#org|\\#|\\#arcade.core|\\#arcade')
indentWithSpaces()
}

format 'misc', {
target '**/.gitignore', '**/*.gradle', '**/*.md', 'src/**/*.xml', 'test/**/*.xml'
indentWithSpaces()
trimTrailingWhitespace()
endWithNewline()
}
}

jar {
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
duplicatesStrategy = DuplicatesStrategy.INCLUDE
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rootProject.name = 'arcade'
rootProject.name = 'arcade'
Loading