Skip to content

Commit 7da50dc

Browse files
committed
Create project
0 parents  commit 7da50dc

11 files changed

Lines changed: 394 additions & 0 deletions

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 4
7+
indent_style = space
8+
insert_final_newline = false
9+
max_line_length = 250
10+
tab_width = 4

.gitattributes

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
# These are explicitly windows files and should use crlf
4+
*.bat text eol=crlf
5+
*.json text
6+
*.lang text
7+
*.mcmeta text
8+
*.info text
9+
*.jar binary
10+
*.zip binary
11+
*.class binary
12+
*.png binary
13+
*.ogg binary

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Gradle
2+
/.gradle
3+
/build
4+
5+
# IDEA
6+
/.idea
7+
/out
8+
/minecraft
9+
10+
# OS
11+
Thumbs.db
12+
ehthumbs.db
13+
Desktop.ini
14+
.DS_Store
15+
.LSOverride

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# ObjectStream Blocker

build.gradle

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
buildscript {
2+
repositories {
3+
mavenCentral()
4+
maven {
5+
name = 'forge'
6+
url = getProperty('minecraftforge.repository.url')
7+
}
8+
}
9+
dependencies {
10+
classpath('com.anatawa12.forge:ForgeGradle:1.2-1.0.+') {
11+
changing = true
12+
}
13+
}
14+
}
15+
16+
repositories {
17+
mavenCentral()
18+
}
19+
20+
apply plugin: 'forge'
21+
apply plugin: 'idea'
22+
23+
// Project settings
24+
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
25+
26+
idea {
27+
module {
28+
inheritOutputDirs = true
29+
excludeDirs += file('./minecraft')
30+
}
31+
}
32+
33+
minecraft {
34+
version = '1.7.10-10.13.4.1614-1.7.10'
35+
runDir = 'minecraft'
36+
}
37+
38+
dependencies {
39+
}
40+
41+
tasks.withType(JavaCompile).configureEach {
42+
options.encoding = 'UTF-8'
43+
}
44+
45+
jar {
46+
manifest {
47+
attributes 'FMLCorePluginContainsFMLMod': 'true'
48+
attributes 'FMLCorePlugin': 'mods.example.LoadingPlugin'
49+
}
50+
}
51+
52+
tasks.register('devJar', Jar) {
53+
archiveClassifier.set('dev')
54+
manifest = jar.manifest
55+
from sourceSets.main.output
56+
}
57+
58+
artifacts {
59+
archives devJar
60+
}

gradle.properties

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Project
2+
group=me.theandrey
3+
version=1.0
4+
5+
# Repositories
6+
minecraftforge.repository.url=https://files.minecraftforge.net/maven

gradle/wrapper/gradle-wrapper.jar

57.3 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
zipStoreBase=GRADLE_USER_HOME
4+
zipStorePath=wrapper/dists
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip

gradlew

Lines changed: 183 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)