Minor style fix (BAD CPW!). Adding sourcejars to building. Proper cleanup.

This commit is contained in:
Erik Broes 2013-09-25 21:13:43 +02:00
parent da7b564c26
commit b829d6f569
2 changed files with 11 additions and 3 deletions

View file

@ -18,9 +18,14 @@ dependencies {
compile 'org.lwjgl.lwjgl:lwjgl:2.8.5'
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives jar
//archives sourcesJar
archives sourcesJar
}
def repoDir = new File(projectDir, "repo")
@ -45,3 +50,7 @@ uploadArchives {
}
}
}
clean << {
repoDir.deleteDir()
}

View file

@ -382,8 +382,7 @@ public class LaunchClassLoader extends URLClassLoader {
}
}
public void clearNegativeEntries(Set<String> entriesToClear)
{
public void clearNegativeEntries(Set<String> entriesToClear) {
negativeResourceCache.removeAll(entriesToClear);
}
}