Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
(cherry picked from commit 318f0d0)

update to 1.6.7
  • Loading branch information
pbreault authored and longforus committed Jan 11, 2022
1 parent 169bf28 commit 6716e57
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 299 deletions.
57 changes: 23 additions & 34 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,32 +1,8 @@
buildscript {

ext.kotlin_version = '1.4.10'

repositories {
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
maven { url 'https://maven.aliyun.com/repository/google' }
mavenCentral()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

plugins {
id "org.jetbrains.intellij" version "0.4.2"
id "org.jetbrains.kotlin.jvm" version "1.5.21"
id "org.jetbrains.intellij" version "1.2.0"
}

sourceCompatibility = 1.8
targetCompatibility = 1.8


apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'kotlin-kapt'


repositories {
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
Expand All @@ -35,6 +11,12 @@ repositories {
jcenter()
}

sourceCompatibility = 1.8
targetCompatibility = 1.8




sourceSets {
main {
resources {
Expand All @@ -48,26 +30,32 @@ if (!hasProperty('StudioCompilePath')) {
}

intellij {
pluginName 'adb_idea'
updateSinceUntilBuild false
pluginName = 'adb_idea'
updateSinceUntilBuild = false
localPath = project.hasProperty("StudioRunPath") ? StudioRunPath : StudioCompilePath
instrumentCode {
compilerVersion = "212.4746.92"
}
instrumentTestCode {
compilerVersion = "212.4746.92"
}

intellij.localPath = project.hasProperty("StudioRunPath") ? StudioRunPath : StudioCompilePath
}


group 'com.developerphil.intellij.plugin.adbidea'

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}"
compile "org.jooq:joor-java-8:0.9.7"
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.5.21'
implementation 'org.jooq:joor-java-8:0.9.14'
compileOnly fileTree(dir: "$StudioCompilePath/plugins/android/lib", include: ['*.jar'])
compileOnly fileTree(dir: "$StudioCompilePath/lib", include: ['*.jar'])

testImplementation 'junit:junit:4.12'
testImplementation 'junit:junit:4.13.2'
testImplementation fileTree(dir: "$StudioCompilePath/plugins/android/lib", include: ['*.jar'])
testImplementation fileTree(dir: "$StudioCompilePath/lib", include: ['*.jar'])
testImplementation "org.mockito:mockito-core:1.+"
testImplementation "com.google.truth:truth:1.0.1"
testImplementation 'com.google.truth:truth:1.1.3'


}
Expand All @@ -82,4 +70,5 @@ task(verifySetup) {
}


compileJava.dependsOn verifySetup
compileJava.dependsOn verifySetup
buildSearchableOptions.enabled = false
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 2 additions & 0 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ esac

CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar


# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
Expand Down Expand Up @@ -129,6 +130,7 @@ fi
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`

JAVACMD=`cygpath --unix "$JAVACMD"`

# We build the pattern for arguments to be converted via cygpath
Expand Down
25 changes: 7 additions & 18 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi

@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"

Expand All @@ -37,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome

set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
if "%ERRORLEVEL%" == "0" goto execute

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Expand All @@ -51,7 +54,7 @@ goto fail
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe

if exist "%JAVA_EXE%" goto init
if exist "%JAVA_EXE%" goto execute

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
Expand All @@ -61,28 +64,14 @@ echo location of your Java installation.

goto fail

:init
@rem Get command-line arguments, handling Windows variants

if not "%OS%" == "Windows_NT" goto win9xME_args

:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2

:win9xME_args_slurp
if "x%~1" == "x" goto execute

set CMD_LINE_ARGS=%*

:execute
@rem Setup the command line

set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar


@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*

:end
@rem End local scope for the variables with windows NT shell
Expand Down
Loading

0 comments on commit 6716e57

Please sign in to comment.