Skip to content

Commit

Permalink
Fixed mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Greazi-Times committed May 24, 2024
1 parent a20876e commit c5f4e89
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def artifactId = 'GradleBasePlugin'
// /---> Major Version - Increment this when you make a breaking change
// | /---> Minor Version - Increment this when you add a new feature
// | | /---> Patch Version - Increment this when you make a bug fix
def versionNum = '5.0.2'
def versionNum = '5.0.3'

group = groupId
version = versionNum
Expand Down Expand Up @@ -57,5 +57,3 @@ publishing {
}
}
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ public class GradleBasePlugin implements Plugin<Project> {
};

private static final String[] relocations = new String[] {
"com.techscode.base#me.TechsCode.PROJECT_NAME.base",
"com.techscode.tpl#me.TechsCode.PROJECT_NAME.tpl",
"com.techscode.dependencies#me.TechsCode.PROJECT_NAME.dependencies"
"com.techscode.base#com.techscode.PROJECT_NAME.base",
"com.techscode.tpl#com.techscode.PROJECT_NAME.tpl",
"com.techscode.dependencies#com.techscode.PROJECT_NAME.dependencies"
};

private MetaExtension meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private void createPluginYml(File resourcesFolder, String projectName, String pr
writer.println("author: Tech");
writer.println("website: " + projectName + ".com");
writer.println("build: " + buildNumber);
writer.println("main: me.TechsCode." + getProject().getName() + ".base.loader.SpigotLoader");
writer.println("main: com.techscode." + getProject().getName() + ".base.loader.SpigotLoader");
writer.println("api-version: 1.13");

if (loadAfter != null) {
Expand Down Expand Up @@ -70,7 +70,7 @@ private void createBungeeYml(File resourcesFolder, String projectName, String pr
writer.println("name: " + projectName);
writer.println("version: " + projectVersion);
writer.println("build: " + buildNumber);
writer.println("main: me.TechsCode." + getProject().getName() + ".base.loader.BungeeLoader");
writer.println("main: com.techscode." + getProject().getName() + ".base.loader.BungeeLoader");
writer.println("author: Tech");

if (libraries != null) {
Expand Down

0 comments on commit c5f4e89

Please sign in to comment.