fabric-*: use modern plugins{} declaration

This commit is contained in:
Kosma Moczek 2021-12-31 04:02:41 +01:00
parent 5e8fa51538
commit 3ae48275a8
6 changed files with 11 additions and 55 deletions

View File

@ -1,14 +1,6 @@
buildscript {
repositories {
maven { url = 'https://maven.fabricmc.net/' }
jcenter()
mavenCentral()
}
dependencies {
classpath group: 'net.fabricmc', name: 'fabric-loom', version: '0.6-SNAPSHOT'
}
plugins {
id 'fabric-loom' version '0.6-SNAPSHOT'
}
apply plugin: 'fabric-loom'
archivesBaseName = project.archives_base_name
version = parent.version

View File

@ -1,14 +1,6 @@
buildscript {
repositories {
maven { url = 'https://maven.fabricmc.net/' }
jcenter()
mavenCentral()
}
dependencies {
classpath group: 'net.fabricmc', name: 'fabric-loom', version: '0.6-SNAPSHOT'
}
plugins {
id 'fabric-loom' version '0.6-SNAPSHOT'
}
apply plugin: 'fabric-loom'
archivesBaseName = project.archives_base_name
version = parent.version

View File

@ -1,14 +1,6 @@
buildscript {
repositories {
maven { url = 'https://maven.fabricmc.net/' }
jcenter()
mavenCentral()
}
dependencies {
classpath group: 'net.fabricmc', name: 'fabric-loom', version: '0.6-SNAPSHOT'
}
plugins {
id 'fabric-loom' version '0.6-SNAPSHOT'
}
apply plugin: 'fabric-loom'
archivesBaseName = project.archives_base_name
version = parent.version

View File

@ -1,14 +1,6 @@
buildscript {
repositories {
maven { url = 'https://maven.fabricmc.net/' }
jcenter()
mavenCentral()
}
dependencies {
classpath group: 'net.fabricmc', name: 'fabric-loom', version: '0.8-SNAPSHOT'
}
plugins {
id 'fabric-loom' version '0.8-SNAPSHOT'
}
apply plugin: 'fabric-loom'
archivesBaseName = project.archives_base_name
version = parent.version

View File

@ -1,18 +1,5 @@
buildscript {
repositories {
maven { url = 'https://maven.fabricmc.net/' }
jcenter()
mavenCentral()
}
dependencies {
classpath group: 'net.fabricmc', name: 'fabric-loom', version: '0.10-SNAPSHOT'
}
}
apply plugin: 'fabric-loom'
loom {
runConfigs.configureEach {
ideConfigGenerated = true
}
plugins {
id 'fabric-loom' version '0.10-SNAPSHOT'
}
archivesBaseName = project.archives_base_name

View File

@ -2,6 +2,7 @@ pluginManagement {
repositories {
gradlePluginPortal()
maven { url "https://papermc.io/repo/repository/maven-public/" }
maven { url "https://maven.fabricmc.net/" }
}
}