@@ -18,7 +18,7 @@ def props = new Properties()
1818file(" version.properties" ). withInputStream { props. load(it) }
1919
2020group ' com.google.maps'
21- version " - SNAPSHOT"
21+ version " SNAPSHOT"
2222ext. artifactId = ' fleetengine-auth'
2323
2424sourceCompatibility = 1.8
@@ -30,7 +30,6 @@ repositories { // repositories for Jar's you access in your code
3030 }
3131 mavenCentral()
3232}
33- // import com.vanniktech.maven.publish.SonatypeHost
3433
3534mavenPublishing {
3635 publishToMavenCentral()
@@ -68,58 +67,6 @@ mavenPublishing {
6867 }
6968 }
7069}
71- //
72- // publishing {
73- // publications {
74- // authLib(MavenPublication) {
75- // pom {
76- // name = 'Fleet Engine Auth Library'
77- // description = 'Provides a set of tools to simplify the Fleet Engine setup process.'
78- // url = 'https://github.com/googlemaps/java-fleetengine-auth'
79- // licenses {
80- // license {
81- // name = 'The Apache License, Version 2.0'
82- // url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
83- // }
84- // }
85- // organization {
86- // name = 'Google, Inc.'
87- // url = 'http://www.google.com'
88- // }
89- // issueManagement {
90- // system = 'GitHub Issues'
91- // url = 'http://github.com/googlemaps/java-fleetengine-auth/issues'
92- // }
93- // scm {
94- // connection = 'scm:git:git://github.com/googlemaps/java-fleetengine-auth.git'
95- // developerConnection = 'scm:git:ssh://github.com/googlemaps/java-fleetengine-auth.git'
96- // url = 'http://github.com/googlemaps/java-fleetengine-auth/'
97- // tag = 'HEAD'
98- // }
99- // developers {
100- // developer {
101- // id = 'danielfbright'
102- // name = 'Daniel Bright'
103- // }
104- // }
105- // }
106- // groupId group
107- // artifactId project.ext.artifactId
108- // version version
109- // from components.java
110- // }
111- // }
112- // repositories {
113- // maven {
114- // name = "mavencentral"
115- // url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
116- // credentials {
117- // username sonatypeUsername
118- // password sonatypePassword
119- // }
120- // }
121- // }
122- // }
12370
12471dependencies {
12572 implementation ' jstl:jstl:1.2'
@@ -140,32 +87,3 @@ dependencies {
14087 testImplementation ' com.google.truth:truth:1.1'
14188 testImplementation ' org.mockito:mockito-core:3.12.4'
14289}
143- //
144- // signing {
145- // sign publishing.publications.authLib
146- // }
147-
148- task javadocJar (type : Jar , dependsOn : javadoc) {
149- archiveClassifier = ' javadoc'
150- from ' build/docs/javadoc'
151- }
152-
153- task sourcesJar (type : Jar ) {
154- from sourceSets. main. allSource
155- archiveClassifier = ' sources'
156- }
157-
158- artifacts {
159- archives jar
160- archives javadocJar
161- archives sourcesJar
162- }
163-
164- java {
165- withJavadocJar()
166- withSourcesJar()
167- }
168-
169-
170- compileJava. options. encoding = ' UTF-8'
171- javadoc. options. encoding = ' UTF-8'
0 commit comments