Skip to content
Permalink
Browse files

Changed license in about dialog, prepared dist gradle

  • Loading branch information...
Vitaliy-Yakovchuk authored and Vitalii Iakovchuk committed Nov 16, 2017
1 parent a765366 commit 710cef5ca56e24163633f5585a059f1a6202b9e5
Showing with 32 additions and 14 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 _config.yml
  3. +18 −8 build.gradle
  4. +4 −6 gui-framework-core/src/main/java/com/ramussoft/gui/core/AboutDialog.java
  5. +8 −0 startup/build.gradle
@@ -52,6 +52,7 @@ crashlytics-build.properties
### Gradle ###
.gradle
build/
dist/full

# Ignore Gradle GUI config
gradle-app.setting
@@ -0,0 +1 @@
theme: jekyll-theme-cayman
@@ -14,15 +14,25 @@ allprojects {
}
compileJava {
options.encoding = "UTF-8"

}
}

task copyJars(type: Copy, dependsOn: subprojects.jar) {
from(subprojects.jar)
into project.file('dest/full/lib/ramus')
}

sourceSets {
main {
java {
srcDirs = ['src/main/java', 'src/main/resources']
}
}
task moveStartup{
doLast{
mkdir('dest/full/bin')
file('dest/full/lib/ramus/startup-1.0-SNAPSHOT.jar')
.renameTo('dest/full/bin/startup.jar')
}
}
}

task copyDeps(type: Copy) {
from(subprojects.configurations.runtime)
into project.file('dest/full/lib/thirdparty')
}

task copyFiles(dependsOn: [copyJars, copyDeps, moveStartup])
@@ -245,15 +245,13 @@ else if (Metadata.DEMO || Metadata.CLIENT)
Metadata.REGISTERED_FOR);

}
sb.append("<html><body><font face=\"Sans Serif\">" + applicationName
+ " <br><br>Version: ");
sb.append("<html><body><font face=\"Sans Serif\">")
.append(applicationName).append(" <br><br>Version: ");
sb.append(Metadata.getApplicationVersion());
if (Metadata.CORPORATE)
sb.append(" (виключно для використання ТОВ \"МЕТІНВЕСТ ХОЛДИНГ\")");
sb.append("<br><br>");

sb.append("Copyright &copy; 2005 - 2013 Oleksiy Chizhevskiy, Vitaliy Yakovchuk. All rights reserved.<br><br>"
+ "e-mail: <a href=\"mailto:support@ramussoftware.com\">support@ramussoftware.com</a><br><br>"
sb.append("Copyright &copy; 2005 - 2017 Oleksiy Chizhevskiy, Vitaliy Yakovchuk. <br><br>"
+ "License <a href=\"https://www.gnu.org/licenses/gpl-3.0.en.html\">GNU GENERAL PUBLIC LICENSE Version 3</a><br><br>"
+ "Visit <a href=\"http://ramussoftware.com/\">http://ramussoftware.com/</a><br><br>"
+ "</font></body></html>");
return sb.toString();
@@ -6,3 +6,11 @@ apply plugin: 'java'
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
}

jar {
manifest {
attributes(
'Main-Class': 'com.ramussoft.RamusLocalStartup'
)
}
}

0 comments on commit 710cef5

Please sign in to comment.
You can’t perform that action at this time.