Browse Source

Remove artemis as it was never used to date, would be useful for a rewrite, but not here or now

OvermindDL1 3 months ago
parent
commit
975288e2f0
Signed by: OvermindDL1 <overminddl1@gmail.com> GPG Key ID: 3AB7DC53B6993840
1 changed files with 51 additions and 51 deletions
  1. 51
    51
      build.gradle

+ 51
- 51
build.gradle View File

@@ -17,8 +17,8 @@ buildscript {
17 17
 	}
18 18
 	dependencies {
19 19
 		classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
20
-		classpath 'net.onedaybeard.artemis:artemis-odb-gradle-plugin:2.2.0-SNAPSHOT'
21
-		classpath 'net.onedaybeard.artemis:artemis-fluid-gradle-plugin:2.2.0-SNAPSHOT'
20
+		//classpath 'net.onedaybeard.artemis:artemis-odb-gradle-plugin:2.2.0'
21
+		//classpath 'net.onedaybeard.artemis:artemis-fluid-gradle-plugin:2.2.0'
22 22
 	}
23 23
 }
24 24
 
@@ -146,8 +146,8 @@ repositories {
146 146
 }
147 147
 
148 148
 apply plugin: 'forge'
149
-apply plugin: 'artemis'
150
-apply plugin: 'artemis-fluid'
149
+//apply plugin: 'artemis'
150
+//apply plugin: 'artemis-fluid'
151 151
 
152 152
 group = "com.gregoriust.gregtech"
153 153
 archivesBaseName = "gregtech_1.7.10"
@@ -176,10 +176,10 @@ minecraft {
176 176
 
177 177
 dependencies {
178 178
 	//compile fileTree(dir: 'libs', include: '*.jar')
179
-	shade 'net.onedaybeard.artemis:artemis-odb:2.2.0-SNAPSHOT'
180
-	shade 'net.mostlyoriginal.artemis-odb:contrib-core:2.2.0'
181
-	shade 'net.mostlyoriginal.artemis-odb:contrib-eventbus:2.2.0'
182
-	shade 'net.fbridault.eeel:artemis-odb-eeel:1.2'
179
+	//shade 'net.onedaybeard.artemis:artemis-odb:2.2.0'
180
+	//shade 'net.mostlyoriginal.artemis-odb:contrib-core:2.3.0'
181
+	//shade 'net.mostlyoriginal.artemis-odb:contrib-eventbus:2.3.0'
182
+	//shade 'net.fbridault.eeel:artemis-odb-eeel:1.2'
183 183
 	runtime 'org.apache.commons:commons-math3:3.2' // Needed for dev opis because it doesn't know how to specify dependencies properly
184 184
 	runtime 'org.jfree:jcommon:1.0.21'             // Needed for dev opis because it doesn't know how to specify dependencies properly
185 185
 	runtime 'org.jfree:jfreechart:1.0.17'          // Needed for dev opis because it doesn't know how to specify dependencies properly
@@ -384,51 +384,51 @@ task wrapper(type: Wrapper) {
384 384
 	gradleVersion = '3.5.1'
385 385
 }
386 386
 
387
-weave {
388
-	classesDir = sourceSets.main.output.classesDir
389
-	enableArtemisPlugin = true
390
-	enablePooledWeaving = true
391
-	generateLinkMutators = true
392
-	optimizeEntitySystems = true
393
-}
387
+//weave {
388
+//	classesDir = sourceSets.main.output.classesDir
389
+//	enableArtemisPlugin = true
390
+//	enablePooledWeaving = true
391
+//	generateLinkMutators = true
392
+//	optimizeEntitySystems = true
393
+//}
394 394
 
395
-fluid {
396
-	doFirst {
397
-		sourceSets.main.compileClasspath.each { c ->
398
-			if(!c.exists() && c.getName().lastIndexOf('.')==-1) {
399
-				c.mkdirs()
400
-			}
401
-		}
402
-	}
403
-	doLast {
404
-		def fp = "$buildDir/generated-source/fluid/com/artemis/E.java"
405
-		String fc = new File(fp).getText('UTF-8')
406
-		fc = fc.replaceAll('public final class', '@SuppressWarnings("all") public final class')
407
-		new File(fp).write(fc, 'UTF-8')
408
-		
409
-		fp = "$buildDir/generated-source/fluid/com/artemis/SuperMapper.java"
410
-		fc = new File(fp).getText('UTF-8')
411
-		fc = fc.replaceAll('public final class', '@SuppressWarnings("all") public final class')
412
-		fc = fc.replaceAll('E getE\\(int entityId\\) \\{', '@SuppressWarnings("unchecked") E getE(int entityId) {')
413
-		new File(fp).write(fc, 'UTF-8')
414
-	}
415
-	generatedSourcesDirectory = file("$buildDir/generated-source/fluid/")
416
-	classpath = sourceSets.main.compileClasspath
417
-
418
-	// Fluid Configuration
419
-	// preferences.prefixComponentGetter = "get" // prefix for E::[get]pos()
420
-	// preferences.prefixComponentCreate = "" // prefix for E::[]pos()
421
-	// preferences.prefixComponentHas = "has" // prefix for E::[has]Pos()
422
-	// preferences.prefixComponentRemove = "remove" // prefix for E::[remove]Pos()
423
-	// preferences.generateTagMethods = true // add tag convenience methods (true).
424
-	// preferences.generateGroupMethods = true // add group convenience methods (true).
425
-	// preferences.generateBooleanComponentAccessors = true // Generate boolean accessors for flag components (true)?
426
-	// preferences.swallowGettersWithParameters = false // global setting. overridden by @Fluid annotation (false).
427
-}
395
+//fluid {
396
+//	doFirst {
397
+//		sourceSets.main.compileClasspath.each { c ->
398
+//			if(!c.exists() && c.getName().lastIndexOf('.')==-1) {
399
+//				c.mkdirs()
400
+//			}
401
+//		}
402
+//	}
403
+//	doLast {
404
+//		def fp = "$buildDir/generated-source/fluid/com/artemis/E.java"
405
+//		String fc = new File(fp).getText('UTF-8')
406
+//		fc = fc.replaceAll('public final class', '@SuppressWarnings("all") public final class')
407
+//		new File(fp).write(fc, 'UTF-8')
408
+//		
409
+//		fp = "$buildDir/generated-source/fluid/com/artemis/SuperMapper.java"
410
+//		fc = new File(fp).getText('UTF-8')
411
+//		fc = fc.replaceAll('public final class', '@SuppressWarnings("all") public final class')
412
+//		fc = fc.replaceAll('E getE\\(int entityId\\) \\{', '@SuppressWarnings("unchecked") E getE(int entityId) {')
413
+//		new File(fp).write(fc, 'UTF-8')
414
+//	}
415
+//	generatedSourcesDirectory = file("$buildDir/generated-source/fluid/")
416
+//	classpath = sourceSets.main.compileClasspath
417
+//
418
+//	// Fluid Configuration
419
+//	// preferences.prefixComponentGetter = "get" // prefix for E::[get]pos()
420
+//	// preferences.prefixComponentCreate = "" // prefix for E::[]pos()
421
+//	// preferences.prefixComponentHas = "has" // prefix for E::[has]Pos()
422
+//	// preferences.prefixComponentRemove = "remove" // prefix for E::[remove]Pos()
423
+//	// preferences.generateTagMethods = true // add tag convenience methods (true).
424
+//	// preferences.generateGroupMethods = true // add group convenience methods (true).
425
+//	// preferences.generateBooleanComponentAccessors = true // Generate boolean accessors for flag components (true)?
426
+//	// preferences.swallowGettersWithParameters = false // global setting. overridden by @Fluid annotation (false).
427
+//}
428 428
 
429
-sourceSets.main.java.srcDirs += file("$buildDir/generated-source/fluid/")
430
-sourceMainJava.dependsOn fluid
431
-classes.finalizedBy weave
429
+//sourceSets.main.java.srcDirs += file("$buildDir/generated-source/fluid/")
430
+//sourceMainJava.dependsOn fluid
431
+//classes.finalizedBy weave
432 432
 
433 433
 jar {
434 434
 	manifest {

Loading…
Cancel
Save