Start exploring publication features by adding source jar archives

This commit is contained in:
Ben Liblit 2018-02-25 17:25:09 -06:00
parent 2bf92e1214
commit e4f8d00cbe
2 changed files with 7 additions and 0 deletions

View File

@ -8,6 +8,7 @@ plugins {
id 'com.github.hauner.jarTest' version '1.0.1' apply false
id 'de.undercouch.download' apply false
id 'nebula.lint' version '8.3.1'
id "nebula.source-jar" version '7.0.1' apply false
}
@ -50,6 +51,7 @@ p2AsMaven {
// common Java setup shared by multiple projects
//
group name
version '1.4.4-SNAPSHOT'
subprojects { subproject ->
@ -62,9 +64,13 @@ subprojects { subproject ->
}
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'nebula.source-jar'
sourceCompatibility = 1.8
version rootProject.version
repositories {
mavenCentral()
maven {

View File

@ -81,6 +81,7 @@ task collectJLex(type: Jar) {
from project(':com.ibm.wala.cast.java.test.data').compileTestJava
include 'JLex/'
baseName 'JLex'
version null
destinationDir projectDir
}