File tree Expand file tree Collapse file tree 10 files changed +137
-12
lines changed
src/main/java/com/imfunc/flutter_minemap Expand file tree Collapse file tree 10 files changed +137
-12
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <classpath >
3+ <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/" />
4+ <classpathentry kind =" con" path =" org.eclipse.buildship.core.gradleclasspathcontainer" />
5+ <classpathentry kind =" output" path =" bin/default" />
6+ </classpath >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <projectDescription >
3+ <name >flutter_minemap</name >
4+ <comment >Project flutter_minemap created by Buildship.</comment >
5+ <projects >
6+ </projects >
7+ <buildSpec >
8+ <buildCommand >
9+ <name >org.eclipse.jdt.core.javabuilder</name >
10+ <arguments >
11+ </arguments >
12+ </buildCommand >
13+ <buildCommand >
14+ <name >org.eclipse.buildship.core.gradleprojectbuilder</name >
15+ <arguments >
16+ </arguments >
17+ </buildCommand >
18+ </buildSpec >
19+ <natures >
20+ <nature >org.eclipse.jdt.core.javanature</nature >
21+ <nature >org.eclipse.buildship.core.gradleprojectnature</nature >
22+ </natures >
23+ <filteredResources >
24+ <filter >
25+ <id >1629270078068</id >
26+ <name ></name >
27+ <type >30</type >
28+ <matcher >
29+ <id >org.eclipse.core.resources.regexFilterMatcher</id >
30+ <arguments >node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments >
31+ </matcher >
32+ </filter >
33+ </filteredResources >
34+ </projectDescription >
Original file line number Diff line number Diff line change 1+ arguments =
2+ auto.sync =false
3+ build.scans.enabled =false
4+ connection.gradle.distribution =GRADLE_DISTRIBUTION(WRAPPER)
5+ connection.project.dir =
6+ eclipse.preferences.version =1
7+ gradle.user.home =
8+ java.home =/Library/Java/JavaVirtualMachines/jdk-11.0.12.jdk/Contents/Home
9+ jvm.arguments =
10+ offline.mode =false
11+ override.workspace.settings =true
12+ show.console.view =true
13+ show.executions.view =true
Original file line number Diff line number Diff line change 1313public class FlutterMinemapPlugin implements FlutterPlugin {
1414
1515 private static String NATIVE_VIEW_TYPE_ID = "flutter_minemap" ;
16- private static boolean isLibraryLoaded = false ;
17-
1816
1917 @ Override
2018 public void onAttachedToEngine (@ NonNull FlutterPluginBinding binding ) {
21- loadLibrary ();
2219 binding
2320 .getPlatformViewRegistry ()
2421 .registerViewFactory (NATIVE_VIEW_TYPE_ID , new MineViewFactory (binding .getBinaryMessenger ()));
@@ -28,12 +25,4 @@ public void onAttachedToEngine(@NonNull FlutterPluginBinding binding) {
2825 public void onDetachedFromEngine (@ NonNull FlutterPluginBinding binding ) {
2926 }
3027
31- private static void loadLibrary () {
32- if (isLibraryLoaded ) {
33- return ;
34- }
35-
36- System .loadLibrary ("libminemap-gl.so" );
37- isLibraryLoaded = true ;
38- }
3928}
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <projectDescription >
3+ <name >android</name >
4+ <comment >Project android created by Buildship.</comment >
5+ <projects >
6+ </projects >
7+ <buildSpec >
8+ <buildCommand >
9+ <name >org.eclipse.buildship.core.gradleprojectbuilder</name >
10+ <arguments >
11+ </arguments >
12+ </buildCommand >
13+ </buildSpec >
14+ <natures >
15+ <nature >org.eclipse.buildship.core.gradleprojectnature</nature >
16+ </natures >
17+ <filteredResources >
18+ <filter >
19+ <id >1629270078060</id >
20+ <name ></name >
21+ <type >30</type >
22+ <matcher >
23+ <id >org.eclipse.core.resources.regexFilterMatcher</id >
24+ <arguments >node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments >
25+ </matcher >
26+ </filter >
27+ </filteredResources >
28+ </projectDescription >
Original file line number Diff line number Diff line change 1+ arguments =
2+ auto.sync =false
3+ build.scans.enabled =false
4+ connection.gradle.distribution =GRADLE_DISTRIBUTION(WRAPPER)
5+ connection.project.dir =
6+ eclipse.preferences.version =1
7+ gradle.user.home =
8+ java.home =/Library/Java/JavaVirtualMachines/jdk-11.0.12.jdk/Contents/Home
9+ jvm.arguments =
10+ offline.mode =false
11+ override.workspace.settings =true
12+ show.console.view =true
13+ show.executions.view =true
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <classpath >
3+ <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/" />
4+ <classpathentry kind =" con" path =" org.eclipse.buildship.core.gradleclasspathcontainer" />
5+ <classpathentry kind =" output" path =" bin/default" />
6+ </classpath >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <projectDescription >
3+ <name >app</name >
4+ <comment >Project app created by Buildship.</comment >
5+ <projects >
6+ </projects >
7+ <buildSpec >
8+ <buildCommand >
9+ <name >org.eclipse.jdt.core.javabuilder</name >
10+ <arguments >
11+ </arguments >
12+ </buildCommand >
13+ <buildCommand >
14+ <name >org.eclipse.buildship.core.gradleprojectbuilder</name >
15+ <arguments >
16+ </arguments >
17+ </buildCommand >
18+ </buildSpec >
19+ <natures >
20+ <nature >org.eclipse.jdt.core.javanature</nature >
21+ <nature >org.eclipse.buildship.core.gradleprojectnature</nature >
22+ </natures >
23+ <filteredResources >
24+ <filter >
25+ <id >1629270078064</id >
26+ <name ></name >
27+ <type >30</type >
28+ <matcher >
29+ <id >org.eclipse.core.resources.regexFilterMatcher</id >
30+ <arguments >node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments >
31+ </matcher >
32+ </filter >
33+ </filteredResources >
34+ </projectDescription >
Original file line number Diff line number Diff line change 1+ connection.project.dir =..
2+ eclipse.preferences.version =1
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ packages:
6868 path: ".."
6969 relative: true
7070 source: path
71- version: "0.0.1"
71+ version: "0.0.1+dev.2 "
7272 flutter_test:
7373 dependency: "direct dev"
7474 description: flutter
You can’t perform that action at this time.
0 commit comments