@@ -9,8 +9,6 @@ buildscript {
99}
1010
1111apply plugin : ' java'
12- apply plugin : ' com.github.dcendents.android-maven'
13- apply plugin : ' com.jfrog.bintray'
1412
1513ext {
1614 bintrayRepo = ' maven'
2523 siteUrl = ' https://github.com/Javinator9889/FileToBytesExporter'
2624 gitUrl = ' https://github.com/Javinator9889/FileToBytesExporter.git'
2725
28- libraryVersion = ' 1.0.3 '
26+ libraryVersion = ' 1.0.4 '
2927
3028 developerId = ' Javinator9889'
3129 developerName = ' Javinator9889'
3735}
3836
3937group = ' com.github.javinator9889'
40- version ' 1.0.3 '
38+ version ' 1.0.4 '
4139
4240sourceCompatibility = 1.8
4341
5654 }
5755}
5856
59- install {
60- repositories. mavenInstaller {
61- pom. project {
62- packaging ' aar'
63- groupId ' com.github.javinator9889'
64- artifactId ' filetobytesexporter'
65-
66- name ' File To Bytes Exporter'
67- description ' Generate binary files from regular text ones.'
68- url ' https://github.com/Javinator9889/FileToBytesExporter'
69-
70- licenses {
71- license {
72- name ' GPL-3'
73- url ' https://github.com/Javinator9889/FileToBytesExporter/blob/master/LICENSE'
74- }
75- }
76- developers {
77- developer {
78- id ' Javinator9889'
79- name ' Javinator9889'
80- email ' javialonso007@hotmail.es'
81- }
82- }
83- scm {
84- connection ' scm:git:https://github.com/Javinator9889/FileToBytesExporter.git'
85- developerConnection ' scm:git:git@github.com:Javinator9889/FileToBytesExporter.git'
86- url ' https://github.com/Javinator9889/FileToBytesExporter'
87- }
88- }
89- }
90- }
91-
92- task sourcesJar (type : Jar ) {
93- classifier = ' sources'
94- from sourceSets. main. java. srcDirs
95- }
96-
97- // task javadoc(type: Javadoc) {
98- // source = sourceSets.main.java.srcDirs
99- // classpath += project.files(getBootClasspath().join(File.pathSeparator))
100- // }
101-
102- task javadocJar (type : Jar , dependsOn : javadoc) {
103- classifier = ' javadoc'
104- from javadoc. destinationDir
105- }
106-
107- artifacts {
108- archives javadocJar
109- archives sourcesJar
110- }
111-
112- Properties properties = new Properties ()
113- properties. load(project. rootProject. file(' local.properties' ). newDataInputStream())
114-
115- bintray {
116- user = properties. getProperty(" bintray.user" )
117- key = properties. getProperty(" bintray.apikey" )
118-
119- configurations = [' archives' ]
120- pkg {
121- repo = bintrayRepo
122- name = bintrayName
123- desc = libraryDescription
124- websiteUrl = siteUrl
125- vcsUrl = gitUrl
126- licenses = allLicenses
127- dryRun = false
128- publish = true
129- override = false
130- publicDownloadNumbers = true
131- version {
132- desc = libraryDescription
133- }
134- }
135- }
57+ apply from : ' https://raw.githubusercontent.com/brightec/JCenter/master/installv1.gradle'
58+ apply from : ' https://raw.githubusercontent.com/brightec/JCenter/master/bintrayv1.gradle'
0 commit comments