Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.67 KB | None | 0 0
  1. $ cat /usr/local/google/code/host/scripts/script.main.kts
  2. @file:Import("dep.main.kts")
  3.  
  4. println(propFromDep)
  5.  
  6.  
  7.  
  8. $ cat /usr/local/google/code/host/scripts/dep.main.kts
  9. val propFromDep = "foo"
  10.  
  11.  
  12.  
  13.  
  14. $ ./gradlew run --args="/usr/local/google/code/host/scripts/script.main.kts"
  15.  
  16. > Task :compileKotlin
  17. w: /usr/local/google/code/host/src/main/kotlin/com/example/CompletionsProvider.kt: (77, 38): Destructured parameter 'script' is never used
  18.  
  19. > Task :run
  20. Class Script_main has 1 constructor(s):
  21.  - Constructor 0 has 0 parameter(s):
  22.  
  23. Class Dep_main has 1 constructor(s):
  24.  - Constructor 0 has 0 parameter(s):
  25.  
  26.  
  27. BUILD SUCCESSFUL in 3s
  28. 2 actionable tasks: 2 executed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement