This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add to ~/.gradle/initscript.gradle | |
addListener(new ArtifactoryGradleSettings()) | |
class ArtifactoryGradleSettings extends BuildAdapter implements BuildListener { | |
def void projectsLoaded(Gradle gradle) { | |
Project root = gradle.getRootProject() | |
root.allprojects { | |
apply plugin: 'idea' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Take my love, post no plan | |
Take me where I cannot stand | |
I don't care, the JDK is free | |
can't take the A P I from me | |
Make my gradients fade to black | |
Tell them it ain't comin' back | |
Burn some bridges to boil the sea | |
can't take the A P I from me | |
There's no place I can be | |
Since I found Java X dot Swing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import groovy.swing.SwingBuilder | |
import groovy.beans.Bindable | |
@Bindable class Model { | |
int intField | |
} | |
sb = new SwingBuilder() | |
model = new Model() | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// in a griffon view | |
// with the hypothetical TridentBuilder adding the animate node | |
frame( title: "Trident+Groovy", size: [400,200], | |
locationRelativeTo: null, visible: true ) { | |
flowLayout() | |
button = button("Sample", | |
foreground: animate([Color.BLUE, Color.RED], duration:2500, id:'tl'), | |
mouseEntered: {tl.play()}, | |
mouseExited: {tl.playReverse()}) |
NewerOlder