Revert to old name
parent
6666738b92
commit
b8f0ec9d95
|
@ -10,9 +10,9 @@ plugins {
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
group = 'com.openmodloader'
|
group = 'net.fabricmc'
|
||||||
archivesBaseName = project.name
|
archivesBaseName = project.name
|
||||||
version = '0.0.11-SNAPSHOT'
|
version = '0.0.12-SNAPSHOT'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
name = OpenGradle
|
name = fabric-loom
|
||||||
description = The Gradle plugin for OpenModLoader
|
description = The Gradle plugin for Fabric
|
||||||
url = https://github.com/OpenModLoader/OpenGradle
|
url = https://github.com/FabricMC/fabric-loom
|
|
@ -51,7 +51,7 @@ public class LoomGradleExtension {
|
||||||
}
|
}
|
||||||
|
|
||||||
public File getUserCache() {
|
public File getUserCache() {
|
||||||
File userCache = new File(project.getGradle().getGradleUserHomeDir(), "caches" + File.separator + "opengradle");
|
File userCache = new File(project.getGradle().getGradleUserHomeDir(), "caches" + File.separator + "fabric-loom");
|
||||||
if (!userCache.exists()) {
|
if (!userCache.exists()) {
|
||||||
userCache.mkdirs();
|
userCache.mkdirs();
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,14 +22,13 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.openmodloader.gradle;
|
package net.fabricmc.loom;
|
||||||
|
|
||||||
import net.fabricmc.loom.AbstractPlugin;
|
|
||||||
import net.fabricmc.loom.task.*;
|
import net.fabricmc.loom.task.*;
|
||||||
import org.gradle.api.DefaultTask;
|
import org.gradle.api.DefaultTask;
|
||||||
import org.gradle.api.Project;
|
import org.gradle.api.Project;
|
||||||
|
|
||||||
public class OpenGradlePlugin extends AbstractPlugin {
|
public class LoomGradlePlugin extends AbstractPlugin {
|
||||||
@Override
|
@Override
|
||||||
public void apply(Project target) {
|
public void apply(Project target) {
|
||||||
super.apply(target);
|
super.apply(target);
|
|
@ -1 +1 @@
|
||||||
implementation-class=com.openmodloader.gradle.OpenGradlePlugin
|
implementation-class=net.fabricmc.loom.LoomGradlePlugin
|
Loading…
Reference in New Issue