320x200 OpenComputers video encoder

build.gradle 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. buildscript {
  2. repositories {
  3. jcenter()
  4. maven { url "https://plugins.gradle.org/m2/" }
  5. }
  6. dependencies {
  7. classpath "gradle.plugin.net.minecrell:licenser:0.3"
  8. }
  9. }
  10. plugins {
  11. id 'java'
  12. id 'idea'
  13. id 'com.github.johnrengelman.shadow' version '1.2.4'
  14. }
  15. apply plugin: 'net.minecrell.licenser'
  16. repositories {
  17. mavenCentral()
  18. }
  19. sourceSets {
  20. main {
  21. resources {
  22. srcDirs += 'docs'
  23. }
  24. }
  25. }
  26. license {
  27. sourceSets = [project.sourceSets.main]
  28. header = project.file("docs/licenses/LICENSE")
  29. ignoreFailures = true
  30. exclude '**/*.lang'
  31. exclude '**/*.info'
  32. exclude '**/*.mcmeta'
  33. exclude '**/pl/asie/faithless/Scale2x**'
  34. }
  35. dependencies {
  36. compile fileTree(dir: 'libs', include: '*.jar')
  37. compile group: 'org.apache.commons', name: 'commons-pool2', version: '2.6.0'
  38. compile group: 'it.unimi.dsi', name: 'fastutil', version: '8.1.0'
  39. compile group: 'com.google.guava', name: 'guava', version: '26.0-jre'
  40. compile group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: '4.0.1-1.4.2'
  41. }
  42. sourceSets {
  43. main {
  44. java.srcDirs = ['src']
  45. }
  46. }
  47. jar {
  48. manifest {
  49. attributes 'Main-Class': 'pl.asie.nadeshicodec.Main'
  50. }
  51. }
  52. build.dependsOn(shadowJar);