build.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. buildscript {
  2. repositories {
  3. maven { url = 'https://files.minecraftforge.net/maven' }
  4. jcenter()
  5. mavenCentral()
  6. }
  7. dependencies {
  8. classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true
  9. }
  10. }
  11. apply plugin: 'net.minecraftforge.gradle'
  12. // Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
  13. version = '1.0'
  14. group = 'me.hammerle.km'
  15. archivesBaseName = 'km'
  16. minecraft {
  17. mappings channel: 'snapshot', version: '20200214-1.15.1'
  18. runs {
  19. client {
  20. workingDirectory project.file('runClient')
  21. property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
  22. property 'forge.logging.console.level', 'info'
  23. args '--username', 'kajetanjohannes'
  24. }
  25. server {
  26. workingDirectory project.file('runServer')
  27. property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
  28. property 'forge.logging.console.level', 'info'
  29. }
  30. }
  31. }
  32. dependencies {
  33. minecraft 'net.minecraftforge:forge:1.15.2-31.1.0'
  34. compile 'mysql:mysql-connector-java:5.1.42'
  35. compile files('./libs/SnuviScriptRecoded.jar')
  36. compile files('./libs/kcm-1.0.jar')
  37. }