Skip to content

Commit

Permalink
Merge pull request #19 from godfather1103/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
godfather1103 authored Nov 16, 2023
2 parents 9935b34 + 86ae590 commit 9eeac32
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion idea-plugin/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ systemProp.file.encoding=UTF-8
# \u63D2\u4EF6\u7248\u672C
plugin_version=1.4
# \u4F7F\u7528\u7684p3c-pmd\u7248\u672C
p3c_pmd_version=2.1.1-ext-1
p3c_pmd_version=2.1.1-ext-2
publishUsername=Jack Chu
publishToken=
publishChannel=
Expand Down
11 changes: 11 additions & 0 deletions p3c-pmd/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

/*
* This file was generated by the Gradle 'init' task.
*/
Expand Down Expand Up @@ -28,6 +30,8 @@ description = "p3c-pmd"
java {
withJavadocJar()
withSourcesJar()
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

publishing {
Expand Down Expand Up @@ -96,3 +100,10 @@ tasks.withType<Javadoc> {
options.encoding = "UTF-8"
(options as StandardJavadocDocletOptions).tags = listOf("date")
}

tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs += "-Xjsr305=strict"
jvmTarget = "1.8"
}
}

0 comments on commit 9eeac32

Please sign in to comment.