1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- buildscript {
- repositories {
- maven { url = 'https://files.minecraftforge.net/maven' }
- jcenter()
- mavenCentral()
- }
- dependencies {
- classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true
- }
- }
- plugins {
- id "com.wynprice.cursemaven" version "2.1.1"
- }
- apply plugin: 'net.minecraftforge.gradle'
- apply plugin: 'eclipse'
- version = "4.5"
- group = "me.shedaniel" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
- archivesBaseName = "LightOverlay"
- sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
- minecraft {
- mappings channel: 'snapshot', version: '20200408-1.15.1'
- runs {
- client {
- workingDirectory project.file('run')
- // Recommended logging data for a userdev environment
- property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
- // Recommended logging level for the console
- property 'forge.logging.console.level', 'debug'
- mods {
- examplemod {
- source sourceSets.main
- }
- }
- }
- server {
- workingDirectory project.file('run')
- // Recommended logging data for a userdev environment
- property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
- // Recommended logging level for the console
- property 'forge.logging.console.level', 'debug'
- mods {
- examplemod {
- source sourceSets.main
- }
- }
- }
- }
- }
- repositories {
- maven { url "https://files.minecraftforge.net/maven" }
- }
- dependencies {
- minecraft 'net.minecraftforge:forge:1.15.2-31.1.39'
- implementation fg.deobf("curse.maven:cloth-config-forge:2938583")
- }
- jar {
- manifest {
- attributes(["Specification-Title" : "examplemod",
- "Specification-Vendor" : "examplemodsareus",
- "Specification-Version" : "1", // We are version 1 of the modlauncher specification
- "Implementation-Title" : project.name,
- "Implementation-Version" : "${version}",
- "Implementation-Vendor" : "examplemodsareus",
- "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")],)
- }
- }
|