File tree Expand file tree Collapse file tree 5 files changed +25
-5
lines changed 
src/main/kotlin/com/fractalwrench/json2kotlin 
kotlin/com/fractalwrench/json2kotlin Expand file tree Collapse file tree 5 files changed +25
-5
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,10 @@ repositories {
66}
77
88dependencies  {
9-     implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version  " 
10-     implementation project(" :core"  )
11-     implementation " commons-cli:commons-cli:1.4" 
9+     compile " org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version  " 
10+     compile project(" :core"  )
11+     compile " commons-cli:commons-cli:1.4" 
12+     compile ' com.bugsnag:bugsnag:3.1.4' 
1213}
1314
1415mainClassName =  " com.fractalwrench.json2kotlin.AppKt" 
Original file line number Diff line number Diff line change 11package  com.fractalwrench.json2kotlin 
22
3+ import  com.bugsnag.Bugsnag 
34import  org.apache.commons.cli.* 
45import  java.io.File 
56import  java.nio.file.Paths 
67
78
89fun  main (args :  Array <String >) {
10+     Bugsnag (" 36024661eca71fb467ceddbaeeff35c3"  )
911
1012    val  options =  prepareOptions()
1113    val  parser =  DefaultParser ()
@@ -21,7 +23,7 @@ fun main(args: Array<String>) {
2123
2224            if  (inputFile.exists()) {
2325                val  outputFile =  findOutputFile(inputFile)
24-                 Kotlin2JsonConverter ().convert(inputFile.inputStream(), outputFile.outputStream(), ConversionArgs ())  //  FIXME respect package name 
26+                 Kotlin2JsonConverter ().convert(inputFile.inputStream(), outputFile.outputStream(), ConversionArgs ())
2527                println (" Generated source available at '$outputFile '"  )
2628            } else  {
2729                println (" Failed to find file '$inputFile '"  )
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ dependencies {
3838    compile(" org.springframework.boot:spring-boot-starter-thymeleaf"  )
3939    compile(" org.springframework.boot:spring-boot-starter-actuator"  )
4040    testCompile(' org.springframework.boot:spring-boot-starter-test'  )
41-     compile ' com.google.code.gson:gson:2.8.2'   //  FIXME 
41+     compile ' com.google.code.gson:gson:2.8.2' 
4242    compile ' com.squareup:kotlinpoet:0.7.0' 
43+     compile ' com.bugsnag:bugsnag:3.1.4' 
4344}
Original file line number Diff line number Diff line change 1+ package  com.fractalwrench.json2kotlin 
2+ 
3+ import  com.bugsnag.Bugsnag 
4+ import  org.springframework.context.annotation.Bean 
5+ import  org.springframework.context.annotation.Configuration 
6+ 
7+ 
8+ @Configuration
9+ class  BugsnagConfig  {
10+ 
11+     @Bean
12+     fun  bugsnag (): Bugsnag  =  Bugsnag (" 063150c3f3019d4f4fecc133a54cc8ee"  )
13+ 
14+ }
Original file line number Diff line number Diff line change 2222    < meta  property ="og:url " content ="https://fractalwrench.co.uk/ "/> 
2323    < meta  property ="og:type " content ="website "/> 
2424    < meta  property ="og:site_name " content ="Fractalwrench "/> 
25+     < script  src ="//d2wy8f7a9ursnm.cloudfront.net/v4/bugsnag.min.js "> </ script > 
26+     < script > window . bugsnagClient  =  bugsnag ( 'e30369d8a62425a9e22a9b9e984d2d22' ) </ script > 
2527</ head > 
2628
2729<!-- Slightly ashamed of this JavaScript/CSS but it works ¯\_(ツ)_/¯ --> 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments