Hi. In my kotlin project (maven based) I was tryin...
# getting-started
j
Hi. In my kotlin project (maven based) I was trying to configure the compiler switch -Xjsr305=warn, to instruct kotlin compiler to emit warns instead of errors. But I didn’t manage to make it work. - In idea I put this compiler flag in additional command line parameters. - In maven I put the following:
Copy code
<plugin>
        
        <artifactId>kotlin-maven-plugin</artifactId>
        <version>${kotlin.version}</version>
				<configuration>
					
					<jvmTarget>${java.version}</jvmTarget>
          <args>
            -Xjsr305=warn
          </args>
Do you have any idea how can I config it? Thank you in advance.