Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:syntron:MediathekView
MediathekView1306
MediathekView-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File MediathekView-build.patch of Package MediathekView1306
diff -uNr MediathekView-13.0.6.orig/build.gradle MediathekView-13.0.6/build.gradle --- MediathekView-13.0.6.orig/build.gradle 2018-01-28 07:29:48.563490054 +0100 +++ MediathekView-13.0.6/build.gradle 2018-01-28 08:07:03.182121655 +0100 @@ -1,13 +1,8 @@ import org.apache.tools.ant.filters.ReplaceTokens import java.nio.file.Files -plugins { - id "com.github.jk1.dependency-license-report" version "0.3.5" - id 'edu.sc.seis.launch4j' version '2.0.1' -} apply plugin: 'java' apply plugin: 'distribution' -apply plugin: 'maven' apply from: "${project.rootDir}/gradle/eclipse.gradle" @@ -19,18 +14,6 @@ def jarName = 'MediathekView.jar' def mainClass = 'mediathek.Main' -ext { - swingxVersion = '1.6.6-SNAPSHOT' - swingxGroup = '' - propsFile = file('src/main/resources/version.properties').absoluteFile - if (!propsFile.exists()) { - Files.createFile(propsFile.toPath()) - } - repoZugangFile = file('scripte/deploy/RepoZugang.properties').absoluteFile - if (!repoZugangFile.exists()) { - Files.createFile(repoZugangFile.toPath()) - } -} def loadVersionProperties() { Properties props = new Properties() @@ -38,81 +21,24 @@ return props } -def loadRepoZugangProperties() { - Properties props = new Properties() - props.load(repoZugangFile.newDataInputStream()) - return props -} compileJava { options.compilerArgs = ['-Xlint:all'] + options.encoding = "UTF-8" } compileTestJava { options.compilerArgs = ['-Xlint:all'] + options.encoding = "UTF-8" } repositories { - mavenLocal() - mavenCentral() - maven { - url "https://oss.sonatype.org/content/repositories/snapshots/" - } - flatDir { - dirs 'libs' - } + flatDir name: 'localRepository', dirs: 'lib' } dependencies { - compile 'de.mediathekview:MLib:2.4.4' - - compile "$swingxGroup:swingx-action:$swingxVersion" - compile "$swingxGroup:swingx-autocomplete:$swingxVersion" - compile "$swingxGroup:swingx-beaninfo:$swingxVersion" - compile "$swingxGroup:swingx-common:$swingxVersion" - compile "$swingxGroup:swingx-core:$swingxVersion" - compile "$swingxGroup:swingx-graphics:$swingxVersion" - compile "$swingxGroup:swingx-painters:$swingxVersion" - compile "$swingxGroup:swingx-plaf:$swingxVersion" - - compile 'org.apache.commons:commons-lang3:3.5' - compile 'com.fasterxml.jackson.core:jackson-core:2.9.3' - compile 'com.jidesoft:jide-oss:3.6.16' - compile 'org.tukaani:xz:1.6' - compile 'com.jgoodies:jgoodies-forms:1.9.0' - compile 'net.sf.jchart2d:jchart2d:3.3.2' - - compileOnly 'com.yuvimasory:orange-extensions:1.3.0' -} - -uploadArchives { - repositories.mavenDeployer { - Properties props = loadRepoZugangProperties() - def nexusUser = props.getProperty('repoUser') - def nexusPw = props.getProperty('repoPw') - repository(url: "https://repo.mediathekview.de/repository/maven-releases/") { - authentication(userName: nexusUser, password: nexusPw) - } - snapshotRepository(url: "https://repo.mediathekview.de/repository/maven-snapshots/") { - authentication(userName: nexusUser, password: nexusPw) - } - } -} -build.dependsOn(install) - -task updateVersion << { - Properties props = loadVersionProperties() - - def oldVersion = props.getProperty('VERSION') - if (!oldVersion.equals(project.version)) { - logger.lifecycle "==msearch======================" - logger.lifecycle "Version: $project.version" - logger.lifecycle "==msearch======================" - props.setProperty('VERSION', project.version) - props.store(propsFile.newWriter(), null) - } + compile fileTree(dir: 'libs', include: ['*.jar']) } -processResources.dependsOn updateVersion /* licenseReport { @@ -154,7 +80,7 @@ processResources.dependsOn copySenderIconsInRes */ -[distZip, distTar]*.shouldRunAfter compileJava, updateVersion, jar +[distZip, distTar]*.shouldRunAfter compileJava, jar jar { manifest { @@ -188,51 +114,10 @@ from('build/libs') { include '*.jar' } - from('build/launch4j') { - include '*.exe' - exclude 'lib' - } } } } -//Windows executable generation -launch4j { - mainClassName = mainClass - icon = "../../res/Info/MediathekView.ico" - jar = jarName - dontWrapJar = true - outfile = "MediathekView_ohne_feste_Speicherzuweisung.exe" -} - -task creatMitSpeicherExe(type: edu.sc.seis.launch4j.tasks.Launch4jLibraryTask) { - outfile = "MediathekView.exe" - - initialHeapSize = 256 - maxHeapSize = 2048 - maxHeapPercent = 80 -} - -task createIpv4Exe(type: edu.sc.seis.launch4j.tasks.Launch4jLibraryTask) { - outfile = "MediathekView_ipv4.exe" - opt = "-Djava.net.preferIPv4Stack=true" - - initialHeapSize = 256 - maxHeapSize = 2048 - maxHeapPercent = 80 -} - -task createPortableExe(type: edu.sc.seis.launch4j.tasks.Launch4jLibraryTask) { - outfile = "MediathekView_Portable.exe" - cmdLine = "Einstellungen/.mediathek3" - - initialHeapSize = 256 - maxHeapSize = 2048 - maxHeapPercent = 80 -} - -assemble.dependsOn createAllExecutables - /** * This is how you pass arguments: "./gradlew run -Pargs=arg1,arg2,arg3 */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor