Advertisement
Guest User

Untitled

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