Sraghvi's picture
Upload bimanual bone packing dataset with so101 folder structure
da5a206 verified
raw
history blame
2.62 kB
plugins {
id 'groovy'
id 'org.springframework.boot' version '3.5.4'
id 'io.spring.dependency-management' version '1.1.7'
id 'codenarc'
}
group = 'com.chewy.robotics.runaround'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
// Configure Spring Boot JAR with predictable name
bootJar {
archiveFileName = 'skynet.jar'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.apache.groovy:groovy'
// Additional dependencies for better IDE support
compileOnly 'org.springframework.boot:spring-boot-configuration-processor'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
// Testing dependencies
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.spockframework:spock-core:2.3-groovy-4.0'
testImplementation 'org.spockframework:spock-spring:2.3-groovy-4.0'
testImplementation 'cglib:cglib-nodep:3.3.0' // For mocking
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
// CodeNarc for static analysis
codenarc 'org.codenarc:CodeNarc:3.4.0'
}
tasks.named('test') {
useJUnitPlatform()
// Configure test reporting
testLogging {
events "passed", "skipped", "failed"
exceptionFormat "full"
showStandardStreams = false
}
// Generate test reports
reports {
html.required = true
junitXml.required = true
}
}
// Generate sources jar for better IDE support
java {
withSourcesJar()
withJavadocJar()
}
// Configure Javadoc generation
javadoc {
options.addBooleanOption('html5', true)
options.addStringOption('Xdoclint:none', '-quiet')
if(javadoc.options.class.name == "org.gradle.external.javadoc.StandardJavadocDocletOptions") {
javadoc.options.addStringOption('tag', 'apiNote:a:API Note:')
javadoc.options.addStringOption('tag', 'implSpec:a:Implementation Requirements:')
javadoc.options.addStringOption('tag', 'implNote:a:Implementation Note:')
}
}
// CodeNarc configuration
codenarc {
toolVersion = '3.4.0'
configFile = file('config/codenarc/ruleset.groovy')
reportsDir = file('build/reports/codenarc')
}
codenarcMain {
reports {
html.required = true
xml.required = true
}
}
codenarcTest {
reports {
html.required = true
xml.required = true
}
}