Skip to content

Commit

Permalink
Removed tabs that snuck into the build.gradle examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkhax committed Dec 30, 2020
1 parent aae8d2c commit b992660
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion examples/local_minecraft_fabric_loom_gradle/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ buildscript {

dependencies {

classpath files { file('../../build/libs').listFiles()}
classpath files { file('../../build/libs').listFiles()}
classpath group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.5.2'
classpath group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.2'
classpath group: 'com.google.code.gson', name: 'gson', version: '2.6.2'
Expand Down
10 changes: 5 additions & 5 deletions examples/local_minecraft_forge_gradle/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
dependencies {

classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true
classpath files { file('../../build/libs').listFiles()}
classpath files { file('../../build/libs').listFiles()}
classpath group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.5.2'
classpath group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.2'
classpath group: 'com.google.code.gson', name: 'gson', version: '2.6.2'
Expand Down Expand Up @@ -110,7 +110,7 @@ task publishDiluv (type: TaskDiluvUpload) {
projectId = findProperty('diluv_project');

// Tells DiluvGradle what file to upload. This can be a Java file, a path to a file, or
// certain tasks which produce files such as any AbstractArchiveTask.
// certain tasks which produce files such as any AbstractArchiveTask.
uploadFile = jar;

// ======================
Expand Down Expand Up @@ -140,8 +140,8 @@ task publishDiluv (type: TaskDiluvUpload) {
// Defines the type of release this file is. This is 'alpha' by default.
// Accepts 'alpha', 'beta', and 'release'.
// setReleaseType('beta');
// Changes the API URL that DiluvGradle uses to authenticate and upload the file to. This
// is primarily intended for debugging.
// Changes the API URL that DiluvGradle uses to authenticate and upload the file to. This
// is primarily intended for debugging.
apiURL = findProperty('diluv_api');
}
18 changes: 9 additions & 9 deletions examples/local_upload_test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ task testPlugin (type: TaskDiluvUpload){
apiURL = project.findProperty('diluv_api');
token = project.findProperty('diluv_token');
projectId = project.findProperty('diluv_project');
uploadFile = jar
setChangelog('Hello, this is the changelog for the file.');
addGameVersion('1.12.2');
addDependency(2);
addOptionalDependency(3);
addIncompatibility(4);
addLoader('forge');
setChangelog('Hello, this is the changelog for the file.');
addGameVersion('1.12.2');
addDependency(2);
addOptionalDependency(3);
addIncompatibility(4);
addLoader('forge');
}
8 changes: 4 additions & 4 deletions examples/minecraft_forge_gradle/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ task publishDiluv (type: TaskDiluvUpload) {
projectId = findProperty('diluv_project');

// Tells DiluvGradle what file to upload. This can be a Java file, a path to a file, or
// certain tasks which produce files such as any AbstractArchiveTask.
// certain tasks which produce files such as any AbstractArchiveTask.
uploadFile = jar;

// ======================
Expand Down Expand Up @@ -135,8 +135,8 @@ task publishDiluv (type: TaskDiluvUpload) {
// Defines the type of release this file is. This is 'alpha' by default.
// Accepts 'alpha', 'beta', and 'release'.
// setReleaseType('beta');
// Changes the API URL that DiluvGradle uses to authenticate and upload the file to. This
// is primarily intended for debugging.
// Changes the API URL that DiluvGradle uses to authenticate and upload the file to. This
// is primarily intended for debugging.
// apiURL = findProperty('diluv_api');
}

0 comments on commit b992660

Please sign in to comment.