Migrate to renamed loader and rename artifact group
This commit is contained in:
@@ -4,24 +4,16 @@ apply plugin: 'maven'
|
|||||||
apply plugin: 'eclipse'
|
apply plugin: 'eclipse'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
|
||||||
url 'http://localhost/mvn/'
|
|
||||||
//url 'C:/Users/Rik/Git/github/mimis/cpp/mimis/.maven/'
|
|
||||||
}
|
|
||||||
maven {
|
maven {
|
||||||
url 'https://github.com/Boukefalos/jlibloader/raw/mvn-repo/'
|
url 'https://github.com/Boukefalos/jlibloader/raw/mvn-repo/'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'net.rubygrapefruit:platform:0.1'
|
compile 'com.github.boukefalos:jlibloader:0.1'
|
||||||
//compile 'org.wiigee:wiigee:1.5.6'
|
|
||||||
//compile 'com.github.boukefalos.mimis:mimis:0.1'
|
|
||||||
//compile 'com.github.boukefalos.mimis:mimis-windows-i386:0.1'
|
|
||||||
//compile 'com.github.boukefalos.mimis:mimis-windows-amd64:0.1'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
group = 'com.github.boukefalos.mimis'
|
group = 'com.github.boukefalos'
|
||||||
project.archivesBaseName = 'jlibmimis'
|
project.archivesBaseName = 'jlibmimis'
|
||||||
version = '0.1'
|
version = '0.1'
|
||||||
|
|
||||||
@@ -146,4 +138,8 @@ mainPom.withXml { provider ->
|
|||||||
dep.appendNode('artifactId', "${project.archivesBaseName}-${platform}")
|
dep.appendNode('artifactId', "${project.archivesBaseName}-${platform}")
|
||||||
dep.appendNode('version', project.version)
|
dep.appendNode('version', project.version)
|
||||||
}
|
}
|
||||||
|
def dep = deps.appendNode('dependency')
|
||||||
|
dep.appendNode('groupId', 'net.rubygrapefruit')
|
||||||
|
dep.appendNode('artifactId', 'platform')
|
||||||
|
dep.appendNode('version', '0.1')
|
||||||
}
|
}
|
||||||
@@ -5,7 +5,7 @@ import mimis.value.Windows;
|
|||||||
|
|
||||||
public class Native {
|
public class Native {
|
||||||
static {
|
static {
|
||||||
net.rubygrapefruit.platform.Native.load("com.github.boukefalos.mimis", "mimis");
|
com.github.boukefalos.jlibloader.Native.load("com.github.boukefalos", "jlibmimis");
|
||||||
}
|
}
|
||||||
|
|
||||||
public native static int getHandle(String window);
|
public native static int getHandle(String window);
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<classpath>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
|
||||||
<classpathentry exported="true" kind="con" path="org.springsource.ide.eclipse.gradle.classpathcontainer"/>
|
|
||||||
<classpathentry kind="output" path="bin"/>
|
|
||||||
</classpath>
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<projectDescription>
|
|
||||||
<name>root (develop)</name>
|
|
||||||
<comment></comment>
|
|
||||||
<projects>
|
|
||||||
</projects>
|
|
||||||
<buildSpec>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
</buildSpec>
|
|
||||||
<natures>
|
|
||||||
<nature>org.springsource.ide.eclipse.gradle.core.nature</nature>
|
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
||||||
</natures>
|
|
||||||
<filteredResources>
|
|
||||||
<filter>
|
|
||||||
<id>0</id>
|
|
||||||
<name></name>
|
|
||||||
<type>26</type>
|
|
||||||
<matcher>
|
|
||||||
<id>org.eclipse.ui.ide.orFilterMatcher</id>
|
|
||||||
<arguments>
|
|
||||||
<matcher>
|
|
||||||
<id>org.eclipse.ui.ide.multiFilter</id>
|
|
||||||
<arguments>1.0-projectRelativePath-equals-true-false-mimis</arguments>
|
|
||||||
</matcher>
|
|
||||||
</arguments>
|
|
||||||
</matcher>
|
|
||||||
</filter>
|
|
||||||
</filteredResources>
|
|
||||||
</projectDescription>
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<classpath>
|
|
||||||
<classpathentry kind="src" path="src/main/java"/>
|
|
||||||
<classpathentry kind="src" path="src/main/resources"/>
|
|
||||||
<classpathentry exported="true" kind="src" path="/java.base"/>
|
|
||||||
<classpathentry exported="true" kind="src" path="/java.wiiusej"/>
|
|
||||||
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
|
|
||||||
<classpathentry exported="true" kind="con" path="org.springsource.ide.eclipse.gradle.classpathcontainer"/>
|
|
||||||
<classpathentry kind="output" path="bin"/>
|
|
||||||
</classpath>
|
|
||||||
Reference in New Issue
Block a user