File: 01_build.patch

package info (click to toggle)
libmnemonicsetter-java 0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 148 kB
  • ctags: 108
  • sloc: java: 551; makefile: 6
file content (75 lines) | stat: -rw-r--r-- 1,534 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Description: change build system to disable maven upload, generate pom.xml
Author: Felix Natter <fnatter@gmx.net>
Forwarded: not-needed
Last-Update: 2016-04-07
--- a/build.gradle
+++ b/build.gradle
@@ -1,21 +1,23 @@
-plugins {
-    id "com.jfrog.bintray" version "1.6"
-}
+//plugins {
+//    id "com.jfrog.bintray" version "1.6"
+//}
 repositories {
     jcenter()
 }
 
 apply plugin: 'java'
 apply plugin: 'eclipse'
-apply plugin: 'maven-publish'
+//apply plugin: 'maven-publish'
+apply plugin: 'maven'
 
 targetCompatibility='1.7'
 sourceCompatibility='1.7'
 
 group 'org.dpolivaev.mnemonicsetter'
 version='0.5'
+jar.baseName = 'mnemonicsetter'
 
-
+/*
 bintray {
     user = System.getenv('BINTRAY_USER')
     key = System.getenv('BINTRAY_KEY')
@@ -31,6 +33,7 @@
 		}
     }
 }
+*/
 
 task sourceJar(type: Jar, dependsOn: classes) {
     classifier = 'sources'
@@ -42,6 +45,7 @@
     from javadoc.destinationDir
 }
 
+/*
 publishing {
     publications {
         mnemonicsetter(MavenPublication) {
@@ -56,6 +60,23 @@
         }
     }
 }
+*/
+
+task createPom << {
+    pom {
+        artifactId = 'mnemonicsetter'
+        project {
+            inceptionYear '2016'
+            licenses {
+                license {
+                    name 'The Apache Software License, Version 2.0'
+                    url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
+                    distribution 'repo'
+                }
+            }
+        }
+    }.writeTo("pom.xml")
+}
 
 dependencies {
 	testCompile 'junit:junit:4.12',