Minor style fix (BAD CPW!). Adding sourcejars to building. Proper cleanup.
This commit is contained in:
parent
da7b564c26
commit
b829d6f569
2 changed files with 11 additions and 3 deletions
11
build.gradle
11
build.gradle
|
@ -18,9 +18,14 @@ dependencies {
|
||||||
compile 'org.lwjgl.lwjgl:lwjgl:2.8.5'
|
compile 'org.lwjgl.lwjgl:lwjgl:2.8.5'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task sourcesJar(type: Jar) {
|
||||||
|
classifier = 'sources'
|
||||||
|
from sourceSets.main.allSource
|
||||||
|
}
|
||||||
|
|
||||||
artifacts {
|
artifacts {
|
||||||
archives jar
|
archives jar
|
||||||
//archives sourcesJar
|
archives sourcesJar
|
||||||
}
|
}
|
||||||
|
|
||||||
def repoDir = new File(projectDir, "repo")
|
def repoDir = new File(projectDir, "repo")
|
||||||
|
@ -45,3 +50,7 @@ uploadArchives {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
clean << {
|
||||||
|
repoDir.deleteDir()
|
||||||
|
}
|
||||||
|
|
|
@ -382,8 +382,7 @@ public class LaunchClassLoader extends URLClassLoader {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void clearNegativeEntries(Set<String> entriesToClear)
|
public void clearNegativeEntries(Set<String> entriesToClear) {
|
||||||
{
|
|
||||||
negativeResourceCache.removeAll(entriesToClear);
|
negativeResourceCache.removeAll(entriesToClear);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue