make stuff run from IDEA using compileOnly classpath

This commit is contained in:
Anton Keks 2020-03-07 19:51:51 +02:00
parent d7d9b7ef15
commit 9bbe389027
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,6 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Main" type="Application" factoryName="Application">
<option name="INCLUDE_PROVIDED_SCOPE" value="true" />
<option name="MAIN_CLASS_NAME" value="net.azib.ipscan.Main" />
<module name="ipscan.main" />
<extension name="coverage">

View File

@ -1,6 +1,6 @@
apply plugin: 'java'
version = '3.6.2'
version = '3.6.3'
sourceCompatibility = 1.8
targetCompatibility = 1.8
@ -46,7 +46,8 @@ dependencies {
}
configurations {
testImplementation.extendsFrom compileOnly
testImplementation.extendsFrom(compileOnly)
runtimeClasspath.extendsFrom(compileOnly)
}
compileJava.options.annotationProcessorGeneratedSourcesDirectory = new File('build/generated')