Skip to content

Instantly share code, notes, and snippets.

View austin0925's full-sized avatar

Dustin austin0925

  • System Integration
  • Taiwan
View GitHub Profile
@domnikl
domnikl / build.gradle.kts
Last active April 12, 2024 22:34
Gradle Kotlin DSL: set main class attribute for jar
tasks.withType<Jar> {
manifest {
attributes["Main-Class"] = "com.example.MainKt"
}
}
@adsl99801
adsl99801 / .java
Last active July 4, 2018 01:14
StackOverflowError
JsonView.renderMergedOutputModel|value:{sus=true, msg=, org.springframework.validation.BindingResult.data=org.springframework.validation.BeanPropertyBindingResult: 0 errors, data={"sus":true,"status":0,"msg":"","exception":null,"list":[{"ridno":"T134969524","case_no":3,"reas":null,"rdate":2039875200000,"pay_date":null,"paystdt":2039875200000,"payeddt":2039875200000,"sdep":null,"wdep":"379130100C","rdep":"602000000A","rdoc":null,"rdat":1150041600000,"rdoc_all":"部退一字第0952636027","old_year":"23/07/00","ins_year":"10/06/19","appd_oyear":"23/00/00","appd_nyear":"11/02","appd_year":"34/02","noty":"12/12","share_year":"0","onem":0,"base":34,"perc":0,"less_perc":null,"avg_salary":null,"salary":39205,"last_ins":null,"clas":null,"grad":null,"leve":"0500","jobn":"I597","qdt":null,"dedt":2039875200000,"demk":"D","once_mony":null,"mth_mony":null,"once_rdm":null,"yaer_rfd":null,"pers_p":null,"pers_i":null,"org_p":null,"org_i":null,"death_mth_pnsn":null,"pnt_flag":"1","appd_flag":"1","dwn_flag":null,"up_flag":"1","rtrl_org
@eriwen
eriwen / test.gradle
Created March 26, 2013 14:47
Separating tests from integration tests with Gradle
// Usage: gradlew [-Dtest.type=all|unit|integration] test
test {
String testType = System.properties['test.type']
if (testType == 'integration') {
include '**/*IntegrationTest.*'
include '**/*IntegrationSpec.*'
} else if (testType == 'unit') {
include '**/*Test.*'
include '**/*Spec.*'