X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=gradle.properties;h=cb25e71918a1cab6ec2799df40ce1db3f3587367;hb=refs%2Fheads%2FJalview-JS%2Fdevelop;hp=a401411a7038768c82b642f82365e5d515af2064;hpb=fba94e50e7b52d4f063f29aaf44f6ab7447d97d2;p=jalview.git diff --git a/gradle.properties b/gradle.properties index a401411..cb25e71 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,6 @@ -org.gradle.jvmargs=-Xmx1536m -Xms512m +# Convention for properties. Read from gradle.properties, use lower_case_underlines for property names. +# For properties set within build.gradle, use camelCaseNoSpace. +# jalviewDir = . @@ -11,7 +13,8 @@ source_dir = src test_source_dir = test #test_source_dir = utils/jalviewjs/test/test -JALVIEW_VERSION = DEVELOPMENT +# JALVIEW_VERSION now being set by logic in build.gradle defaulting to looking at jalview.version property in RELEASE file +#JALVIEW_VERSION = DEVELOPMENT INSTALLATION = Source jalview_keystore = keys/.keystore jalview_keystore.pass = alignmentisfun @@ -23,40 +26,37 @@ proxyHost = sqid jalview_keyalg = SHA1withRSA jalview_keydig = SHA1 -testngGroups = Functional -testngExcludedGroups = +testng_groups = Functional +testng_excluded_groups = j8libDir = j8lib j11libDir = j11lib resource_dir = resources help_parent_dir = help help_dir = help -docDir = doc -schemaDir = schemas +doc_dir = doc classes_dir = classes -examplesDir = examples clover = false -use_clover = false -cloverReportJVMHeap = 2g -cloverReportJVMArgs = -Dfile.encoding=UTF-8 -cloverReportHTMLOptions = -cloverReportXMLOptions = -cloverClassesDir = clover-classes -cloverSourcesInstrDir = sources-instr -packageDir = dist +clover_classes_dir = clover-classes +clover_sources_instr_dir = clover-instr +clover_report_dir = clover-report +clover_lib_dir = utils/clover/lib +cloverreport_mem = 2g +cloverreport_jvmargs = -Dfile.encoding=UTF-8 +cloverreport_html_options = +cloverreport_xml_options = +package_dir = dist ARCHIVEDIR = -outputJar = jalview.jar -testOutputDir = tests -utilsDir = utils +test_output_dir = tests +utils_dir = utils build_properties_file = .build_properties application_codebase = *.jalview.org -mainClass = jalview.bin.Jalview -shadowJarMainClass = jalview.bin.Launcher -launcherClass = jalview.bin.Jalview +main_class = jalview.bin.Jalview +shadow_jar_main_class = jalview.bin.Launcher -gradlePluginsDir = gradle/plugins +jalview_name = Jalview getdown_local = false getdown_website_dir = getdown/website @@ -70,7 +70,6 @@ getdown_launcher_new = getdown-launcher-new.jar getdown_core = getdown/lib/getdown-core.jar getdown_build_properties = build_properties getdown_launch_jvl_name = channel_launch -getdown_txt_title = Jalview getdown_txt_allow_offline = true getdown_txt_max_concurrent_downloads = 10 # now got better defaults when not set @@ -79,8 +78,6 @@ getdown_txt_max_concurrent_downloads = 10 #getdown_txt_jalview.jvmmemmax = 32G getdown_txt_multi_jvmarg = -Dgetdownappdir=%APPDIR% getdown_txt_strict_comments = true -getdown_txt_title = Jalview -getdown_txt_ui.name = Jalview getdown_txt_ui.progress_sync_before_shown = true getdown_txt_ui.progress_sync_after_shown = false getdown_txt_ui.keep_on_top = true @@ -114,26 +111,26 @@ j11libDir = j11lib j11modDir = j11mod j11modules = com.sun.istack.runtime,com.sun.xml.bind,com.sun.xml.fastinfoset,com.sun.xml.streambuffer,com.sun.xml.txw2,com.sun.xml.ws.policy,java.activation,java.annotation,java.base,java.compiler,java.datatransfer,java.desktop,java.logging,java.management,java.management.rmi,java.naming,java.prefs,java.rmi,java.scripting,java.security.sasl,java.sql,java.xml,java.xml.bind,java.xml.soap,java.xml.ws,javax.jws,jdk.httpserver,jdk.jsobject,jdk.unsupported,jdk.xml.dom,org.jvnet.mimepull,org.jvnet.staxex,javax.servlet.api,java.ws.rs +flexmark_css = utils/doc/github.css + install4j_home_dir = ~/buildtools/install4j8 install4j_copyright_message = ... -install4j_macOS_bundle_id = org.jalview.jalview-desktop +install4j_bundle_id = org.jalview.jalview-desktop install4j_utils_dir = utils/install4j install4j_template = install4j8_template.install4j install4j_info_plist_file_associations = file_associations_auto-Info_plist.xml install4j_installer_file_associations = file_associations_auto-install4j8.xml #install4j_DMG_uninstaller_app_files = uninstall_old_jalview_files.xml install4j_build_dir = build/install4j -install4j_media_types = windows,macosArchive,linuxRPM,linuxDeb,unixArchive,unixInstaller +install4j_media_types = windows,macosArchive,unixArchive,unixInstaller install4j_faster = false -install4j_installer_name = Jalview Installer +install4j_application_categories = Science;Biology;Java; +install4j_release_win_application_id = 6595-2347-1923-0725 OSX_KEYSTORE = OSX_KEYPASS = JSIGN_SH = echo -pandoc_exec = /usr/local/bin/pandoc,/usr/bin/pandoc -dev = false - CHANNEL=LOCAL getdown_channel_base = https://www.jalview.org/getdown getdown_app_dir_release = release @@ -154,6 +151,19 @@ eclipse_project_name = jalview eclipse_bin_dir = bin eclipse_debug = false +## IMPORTANT for headless build +# to enable `gradle jalviewjs` headless build you MUST set +# j2s.config.altfileproperty = org.jalview.jalviewjsj2sfilename +# (or set to whatever value jalviewjs_j2s_alt_file_property is set to) +# in your ./.j2s file +# OR run the task `gradle jalviewjsEnableAltFileProperty` to do that for you (before headless build task) +jalviewjs_j2s_alt_file_property = org.jalview.jalviewjsj2sfilename +jalviewjs_j2s_alt_settings = build/jalviewjs/config/j2s + +# these are used for actual .j2s file to pass on to alt j2s file +jalviewjs_j2s_settings = .j2s +jalviewjs_j2s_alt_file_property_config = j2s.config.altfileproperty + # for developing in Eclipse as IDE, set this to automatically copy current swingjs/net.sf.j2s.core.jar to your dropins dir jalviewjs_eclipseIDE_auto_copy_j2s_plugin = false # Override this in a local.properties file @@ -166,7 +176,6 @@ jalviewjs_libjs_dir = utils/jalviewjs/libjs jalviewjs_site_resource_dir = utils/jalviewjs/site-resources jalviewjs_classlists_dir = utils/jalviewjs/classlists jalviewjs_classlist_jalview = utils/jalviewjs/_j2sclasslist.txt -jalviewjs_j2s_settings = .j2s #jalviewjs_eclipse_workspace = ~/tmp/eclipse-workspace # these 3 files/dirs found in build/jalviewjs jalviewjs_eclipse_tmp_dropins_dir = eclipse_dropins @@ -181,14 +190,12 @@ jalviewjs_eclipse_build_arg = cleanBuild jalviewjs_server_port = 9001 jalviewjs_server_wait = 30 jalviewjs_server_resource = /jalview_bin_Jalview.html -jalviewjs_core_name = _jalview jalviewjs_name = JalviewJS jalviewjs_core_key = core #jalviewjs_core_key = preloadCore jalviewjs_ignore_transpile_errors = true j2s.compiler.status = enable -j2s.compiler.java.version = 11 #j2s.site.directory = null ## site defined from buildDir+'/jalviewjs/'+jalviewjs_site_dir #j2s.log.methods.declared = j2s_methods_declared.log #j2s.log.methods.called = j2s_methods_called.log @@ -215,6 +222,7 @@ j2s_coretemplate_html = utils/jalviewjs/coretemplate.html jalviewjs_j2s_transpile_stdout = j2s-transpile.out #jalviewjs_j2s_stderr = j2s-transpile.err # all going into out jalviewjs_j2s_to_console = true +jalviewjs_closure_compiler = tools/closure_compiler.jar jalviewjs_j2s_closure_stdout = j2s-closure.out