Skip to content

Commit

Permalink
port to 1.18.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Hookan committed Feb 7, 2022
1 parent c0f013c commit 468c5d5
Show file tree
Hide file tree
Showing 23 changed files with 639 additions and 567 deletions.
23 changes: 11 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,28 @@ import java.time.temporal.ChronoUnit

buildscript {
repositories {
maven { url = 'https://files.minecraftforge.net/maven' }
maven { url = 'https://maven.minecraftforge.net' }
maven { url = 'https://maven.parchmentmc.org' }
mavenCentral()
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '4.+', changing: true
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true
classpath 'org.parchmentmc:librarian:1.+'
}
}
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'org.parchmentmc.librarian.forgegradle'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'

version = '0.1.6'
group = 'org.teacon'
archivesBaseName = 'SignMeUp-Forge-1.16'
archivesBaseName = 'SignMeUp-Forge-1.18'

sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8

compileJava {
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
}
java.toolchain.languageVersion = JavaLanguageVersion.of(17)

minecraft {
mappings channel: 'snapshot', version: '20210309-1.16.4'
mappings channel: 'parchment', version: '2022.01.23-1.18.1'
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')

runs {
Expand Down Expand Up @@ -70,7 +69,7 @@ minecraft {
}

dependencies {
minecraft 'net.minecraftforge:forge:1.16.4-35.1.0'
minecraft 'net.minecraftforge:forge:1.18.1-39.0.40'
}

jar {
Expand All @@ -94,11 +93,11 @@ publishing {
publications {
release(MavenPublication) {
groupId = "org.teacon"
artifactId = "SignMeUp-Forge-1.16"
artifactId = "SignMeUp-Forge-1.18"

artifact jar
pom {
name = 'SignMeUp for Minecraft 1.16'
name = 'SignMeUp for Minecraft 1.18'
description = 'In-game sign-up, sign-in system and more'
url = 'https://github.com/teaconmc/SignMeUp'
licenses {
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 468c5d5

Please sign in to comment.