GithubHelp home page GithubHelp logo

Comments (4)

crotwell avatar crotwell commented on August 24, 2024

What version of macAppBundle are you using?

Can you share your build.gradle, or at least the macAppBundle section?

Is this on a mac? What version of OSX?

Thanks for reporting this.

from gradle-macappbundle.

ago75 avatar ago75 commented on August 24, 2024

tool: Android Studio 3.0
gradle version: gradle-4.1
gradle plugin: 'com.android.tools.build:gradle:3.0.0'
os: macOS Sierra 10.12.6

plugins {
id 'java-library'
id 'maven'
id "edu.sc.seis.launch4j" version "2.4.2"
id "edu.sc.seis.macAppBundle" version "2.1.9"
}

macAppBundle {
appName = "MapsCreator"
icon = "src/main/resources/ic_launcher.icns"
version = "1.0"
mainClassName = "it.jago.navigator.MapsCreator"
bundleJRE = false
bundleExecutable = "MapsCreator"
bundleIdentifier = "it.jago.navigator.MapsCreator"
bundleExtras.put("NSHighResolutionCapable", "true")
//javaProperties.put("file.encoding", "utf-8")
javaExtras.put("X","mx8192M")
//javaXProperties.add("startOnFirstThread")
dmgName = "MapsCreator 0.1-alpha1"
}

tasks.withType(JavaCompile) {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

another question : is correct javaExtras.put("X","mx8192M") for jvm option?

thank!

from gradle-macappbundle.

ago75 avatar ago75 commented on August 24, 2024

update: I've compiled the plugin with jdk 1.8 and the problem is no longer present.

Agostino.

from gradle-macappbundle.

crotwell avatar crotwell commented on August 24, 2024

OK. I have not been able to reproduce this here, and the next version, 2.2.0, will be source/target java version of 1.8, so closing as hopefully this is resolved. Let me know if not.

from gradle-macappbundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.