I hereby claim:
- I am tbroyer on github.
- I am tbroyer (https://keybase.io/tbroyer) on keybase.
- I have a public key ASBs8rj4D1r7cfdXaQ4M0kqXBuGYnBCTXLlelR_9nvxoNQo
To claim this, I am signing this object:
// Put this file in ~/.gradle/init.d/ | |
// | |
// It will automatically configure Java projects (not Groovy) with for use in IntelliJ IDEA, | |
// by declaring options.annotationProcessorGeneratedSourcesDirectory as generated sources | |
// (assumes "Delegate IDE build/run actions to gradle" and "Create separate module per source set"; | |
// only works for 'main' and 'test' source sets). | |
// The options.annotationProcessorGeneratedSourcesDirectory still needs to be configured in builds | |
// (see https://github.com/gradle/gradle/issues/4956). This script is thus mainly a workaround for | |
// the IDEA issue https://youtrack.jetbrains.com/issue/IDEA-182577 | |
// |
I hereby claim:
To claim this, I am signing this object:
/* | |
* Copyright 2015 Thomas Broyer | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
UPDATE: This is now available as a plugin https://github.com/tbroyer/gradle-errorprone-plugin
To use it, just add the following to your build.gradle
and it'll change all JavaCompile
tasks to use the error-prone compiler:
apply from: 'https://gist.github.com/tbroyer/6847494/raw/errorprone.gradle'
/* | |
* Copyright 2013 Thomas Broyer <[email protected]> | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
#!/bin/sh | |
sudo sed -i s/get_monitor_geometry\(0\)/get_monitor_geometry\(screen.get_primary_monitor\(\)\)/ /usr/bin/guake |
/* | |
* Copyright 2012 Thomas Broyer <[email protected]> | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
/* | |
* Copyright 2012 Thomas Broyer <[email protected]> | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
#!/bin/bash | |
# | |
# git-svn-diff originally by (http://mojodna.net/2009/02/24/my-work-git-workflow.html) | |
# modified by [email protected] | |
# modified by aconway@[redacted] - handle diffs that introduce new files | |
# modified by [email protected] - fixes diffs that introduce new files | |
# | |
# Generate an SVN-compatible diff against the tip of the tracking branch | |
# Get the tracking branch (if we're on a branch) |
package net.ltgt.gwt.samples.editors.shared; | |
public class Address { | |
private String street; | |
private String city; | |
private String zip; | |
private String state; | |
public String getStreet() { return this.street; } |