Skip to content
This repository was archived by the owner on Oct 11, 2019. It is now read-only.

Commit

Permalink
uh
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo40Git committed Oct 5, 2017
1 parent 46f763f commit b49a62b
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 2 deletions.
1 change: 1 addition & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="src" path="src/main/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ window.rect
*.log
nolaf
skipuc
/build/
1 change: 0 additions & 1 deletion .settings/org.eclipse.buildship.core.prefs
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
connection.project.dir=
eclipse.preferences.version=1
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
language: java
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
jdk:
- oraclejdk8
install: true
script: bundle exec gradle fatJar
2 changes: 1 addition & 1 deletion MCI.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ The MCI system, or the **M**od **C**ompatibility **I**nformation system (origina

# How does MCI work?
The MCI system uses JavaScript to define and declare values.
An example for an MCI configuration file can be found [here](src/com/leo/cse/frontend/default.mci).
An example for an MCI configuration file can be found [here](src/main/resources/com/leo/cse/frontend/default.mci).
Every MCI file should contain the following functions. *Note: CSE always uses double resolution images, take this in consideration when dealing with positions and sizes!*
## Metadata
- `getName:String` - Gets the MCI file's name.
Expand Down
11 changes: 11 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apply plugin: 'java'
apply plugin: 'eclipse'

sourceCompatibility = 1.8

repositories {
jcenter()
}
Expand All @@ -14,3 +16,12 @@ task wrapper(type: Wrapper) {
gradleVersion = '4.1'
}

task fatJar(type: Jar) {
description 'Assembles a jar archive containing the main classes and dependencies.'
manifest {
attributes 'Main-Class': 'com.leo.cse.frontend.Main'
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}

1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.gradle.java.home=C:/Program Files/Java/jdk1.8.0_131

0 comments on commit b49a62b

Please sign in to comment.