Some scripts for Gradle.
Adds eclipse project filter. Allows to hide gradle subprojects or build directory.
Example, usage:
def getEclipseFilter() {
return '1.0-projectRelativePath-matches-true-true-(subproject-.*|test|build)'
}
apply from: "https://raw.githubusercontent.com/Schnitker/gradle-scripts/master/eclipse-project-filter.gradle"
Sorts the eclipse classpath (libraries). The result is a sorted Eclipse project/package explorer view.
Usage:
apply from: "https://raw.githubusercontent.com/Schnitker/gradle-scripts/master/eclipse-project-libsort.gradle"
Adds default utf-8 encoding for eclipse project.
Usage:
apply from: "https://raw.githubusercontent.com/Schnitker/gradle-scripts/master/eclipse-project-utf8.gradle"
Build new JAR mvn install:install-file -DgroupId=com.github.schnitker -DartifactId=gradle-scripts -Dversion=1.0.1 -Dfile=gradle-scripts-1.0.1.zip -Dpackaging=jar -DgeneratePom=true -DlocalRepositoryPath=. -DcreateChecksum=true