File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /*
2+ * This file was generated by the Gradle 'init' task.
3+ */
4+ apply plugin : ' java'
5+ apply plugin : ' eclipse'
6+ // apply plugin: 'jacoco'
7+ apply plugin : ' maven-publish'
8+
9+ // plugins {
10+ // id 'java'
11+ // id 'maven-publish'
12+ // }
13+
14+ repositories {
15+ mavenLocal()
16+ maven {
17+ url = uri(' https://oss.sonatype.org/content/repositories/snapshots' )
18+ }
19+
20+ maven {
21+ url = uri(' http://repo.maven.apache.org/maven2' )
22+ }
23+ }
24+
25+ dependencies {
26+ testImplementation ' junit:junit:4.12'
27+ testImplementation ' com.jayway.jsonpath:json-path:2.1.0'
28+ testImplementation ' org.mockito:mockito-core:1.9.5'
29+ }
30+
31+ subprojects {
32+ tasks. withType(Javadoc ). all { enabled = false }
33+ }
34+
35+ group = ' org.json'
36+ version = ' v20200429-SNAPSHOT'
37+ description = ' JSON in Java'
38+ sourceCompatibility = ' 1.7'
39+
40+ configurations. all {
41+ }
42+
43+ java {
44+ withSourcesJar()
45+ withJavadocJar()
46+ }
47+
48+ publishing {
49+ publications {
50+ maven(MavenPublication ) {
51+ from(components. java)
52+ }
53+ }
54+ }
55+
56+ tasks. withType(JavaCompile ) {
57+ options. encoding = ' UTF-8'
58+ }
You can’t perform that action at this time.
0 commit comments